結果

問題 No.516 赤と青の風船
ユーザー fshutofshuto
提出日時 2019-04-16 08:39:08
言語 Ruby
(3.3.0)
結果
AC  
実行時間 92 ms / 2,000 ms
コード長 99 bytes
コンパイル時間 50 ms
コンパイル使用メモリ 11,964 KB
実行使用メモリ 16,156 KB
最終ジャッジ日時 2023-10-22 06:56:59
合計ジャッジ時間 1,471 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
16,156 KB
testcase_01 AC 87 ms
16,156 KB
testcase_02 AC 87 ms
16,156 KB
testcase_03 AC 86 ms
16,156 KB
testcase_04 AC 87 ms
16,156 KB
testcase_05 AC 92 ms
16,156 KB
testcase_06 AC 87 ms
16,156 KB
testcase_07 AC 88 ms
16,156 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

baloons = []
3.times do
  baloons << gets.chomp
end
puts baloons.count("RED") >= 2 ? "RED" : "BLUE"
0