結果

問題 No.516 赤と青の風船
ユーザー brthyyjpbrthyyjp
提出日時 2020-07-23 15:56:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 162 bytes
コンパイル時間 898 ms
コンパイル使用メモリ 86,240 KB
実行使用メモリ 71,176 KB
最終ジャッジ日時 2023-09-05 22:19:17
合計ジャッジ時間 2,012 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,080 KB
testcase_01 AC 72 ms
70,992 KB
testcase_02 AC 74 ms
70,932 KB
testcase_03 AC 73 ms
70,736 KB
testcase_04 AC 72 ms
71,176 KB
testcase_05 AC 72 ms
71,172 KB
testcase_06 AC 72 ms
70,740 KB
testcase_07 AC 70 ms
71,072 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

r = 0
b = 0
for i in range(3):
    s = str(input())
    if s == 'RED':
        r += 1
    else:
        b += 1
if b > r:
    print('BLUE')
else:
    print('RED')
0