結果
問題 | No.516 赤と青の風船 |
ユーザー | S6136O |
提出日時 | 2017-09-20 19:16:28 |
言語 | Python3 (3.11.6 + numpy 1.26.0 + scipy 1.11.3) |
結果 |
AC
|
実行時間 | 15 ms / 2,000 ms |
コード長 | 161 bytes |
コンパイル時間 | 96 ms |
コンパイル使用メモリ | 10,696 KB |
実行使用メモリ | 7,908 KB |
最終ジャッジ日時 | 2023-08-08 03:21:16 |
合計ジャッジ時間 | 1,068 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge15 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 15 ms
7,836 KB |
testcase_01 | AC | 14 ms
7,832 KB |
testcase_02 | AC | 15 ms
7,908 KB |
testcase_03 | AC | 15 ms
7,892 KB |
testcase_04 | AC | 14 ms
7,856 KB |
testcase_05 | AC | 14 ms
7,852 KB |
testcase_06 | AC | 15 ms
7,852 KB |
testcase_07 | AC | 15 ms
7,864 KB |
ソースコード
baloons = [] for i in range(3): baloons.append(input()) r = baloons.count("RED") b = baloons.count("BLUE") if r > b: print("RED") else: print("BLUE")