結果
問題 | No.516 赤と青の風船 |
ユーザー | knt3110 |
提出日時 | 2018-05-14 21:04:13 |
言語 | Python3 (3.11.6 + numpy 1.26.0 + scipy 1.11.3) |
結果 |
AC
|
実行時間 | 16 ms / 2,000 ms |
コード長 | 193 bytes |
コンパイル時間 | 86 ms |
コンパイル使用メモリ | 10,652 KB |
実行使用メモリ | 7,924 KB |
最終ジャッジ日時 | 2023-09-10 20:43:16 |
合計ジャッジ時間 | 843 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 16 ms
7,904 KB |
testcase_01 | AC | 16 ms
7,868 KB |
testcase_02 | AC | 16 ms
7,864 KB |
testcase_03 | AC | 16 ms
7,844 KB |
testcase_04 | AC | 16 ms
7,864 KB |
testcase_05 | AC | 16 ms
7,848 KB |
testcase_06 | AC | 16 ms
7,824 KB |
testcase_07 | AC | 16 ms
7,924 KB |
ソースコード
s=list(input() for i in range(3)) count_r=0 count_b=0 for i in s: if i=='RED': count_r+=1 else: count_b+=1 if count_r>count_b: print('RED') else: print('BLUE')