結果

問題 No.516 赤と青の風船
ユーザー waowao
提出日時 2017-06-17 17:26:24
言語 Ruby
(3.2.2)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 115 bytes
コンパイル時間 221 ms
コンパイル使用メモリ 11,432 KB
実行使用メモリ 15,388 KB
最終ジャッジ日時 2023-07-24 16:34:27
合計ジャッジ時間 1,511 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
15,260 KB
testcase_01 AC 69 ms
15,328 KB
testcase_02 AC 74 ms
15,148 KB
testcase_03 AC 71 ms
15,256 KB
testcase_04 AC 74 ms
15,268 KB
testcase_05 AC 72 ms
15,268 KB
testcase_06 AC 70 ms
15,388 KB
testcase_07 AC 70 ms
15,176 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

color =  3.times.map { gets.chomp }
if color.count('RED') < color.count('BLUE')
  puts 'BLUE'
else
  puts 'RED'
end
0