結果
問題 | No.516 赤と青の風船 |
ユーザー | h_noson |
提出日時 | 2017-06-13 00:10:43 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 28 ms / 2,000 ms |
コード長 | 151 bytes |
コンパイル時間 | 212 ms |
コンパイル使用メモリ | 11,728 KB |
実行使用メモリ | 9,900 KB |
最終ジャッジ日時 | 2023-10-24 21:39:58 |
合計ジャッジ時間 | 975 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 28 ms
9,900 KB |
testcase_01 | AC | 27 ms
9,900 KB |
testcase_02 | AC | 28 ms
9,900 KB |
testcase_03 | AC | 27 ms
9,900 KB |
testcase_04 | AC | 27 ms
9,900 KB |
testcase_05 | AC | 27 ms
9,900 KB |
testcase_06 | AC | 27 ms
9,900 KB |
testcase_07 | AC | 28 ms
9,900 KB |
ソースコード
count = {"BLUE":0, "RED":0} count[input()] += 1 count[input()] += 1 count[input()] += 1 if count["BLUE"] >= 2: print("BLUE") else: print("RED")