結果

問題 No.516 赤と青の風船
ユーザー shobonvipshobonvip
提出日時 2020-04-12 23:35:04
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 27 ms / 2,000 ms
コード長 191 bytes
コンパイル時間 718 ms
コンパイル使用メモリ 11,656 KB
実行使用メモリ 9,956 KB
最終ジャッジ日時 2023-10-23 20:36:15
合計ジャッジ時間 1,734 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

s = ["" for _ in range(3)]
s[0]=input()
s[1]=input()
s[2]=input()
count = 0
for i in range(3):
    if s[i] == "RED":
        count += 1
if count <= 1:
    print("BLUE")
else:
    print("RED")
0