結果

問題 No.516 赤と青の風船
ユーザー ssmkzkssmkzk
提出日時 2018-05-17 02:06:22
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 211 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 10,564 KB
実行使用メモリ 8,004 KB
最終ジャッジ日時 2023-09-10 22:28:03
合計ジャッジ時間 980 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,888 KB
testcase_01 AC 17 ms
7,980 KB
testcase_02 AC 16 ms
7,824 KB
testcase_03 AC 16 ms
7,888 KB
testcase_04 WA -
testcase_05 AC 16 ms
7,796 KB
testcase_06 WA -
testcase_07 AC 16 ms
7,824 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

red_count = 0
blue_count = 0

for i in range(2):
    N = input()
    if N == "RED":
        red_count += 1
    else:
        blue_count += 1

if red_count > blue_count:
    print ("RED")
else:
    print ("BLUE")
0