結果

問題 No.516 赤と青の風船
ユーザー yohei-kuyohei-ku
提出日時 2018-03-03 22:03:59
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 2,000 ms
コード長 201 bytes
コンパイル時間 454 ms
コンパイル使用メモリ 6,700 KB
実行使用メモリ 5,996 KB
最終ジャッジ日時 2023-09-18 01:14:54
合計ジャッジ時間 1,213 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
5,956 KB
testcase_01 AC 11 ms
5,996 KB
testcase_02 AC 11 ms
5,840 KB
testcase_03 AC 11 ms
5,992 KB
testcase_04 AC 11 ms
5,924 KB
testcase_05 AC 12 ms
5,832 KB
testcase_06 AC 12 ms
5,916 KB
testcase_07 AC 12 ms
5,832 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C, = raw_input(),raw_input(),raw_input()
BALLOON =[A,B,C]
RED_count = BALLOON.count("RED")
BLUE_count = BALLOON.count("BLUE")

if RED_count > BLUE_count:
    print "RED"
    
else:
    print "BLUE"
0