結果
問題 | No.516 赤と青の風船 |
ユーザー | Theta |
提出日時 | 2022-11-01 11:27:03 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 20 ms / 2,000 ms |
コード長 | 219 bytes |
コンパイル時間 | 403 ms |
コンパイル使用メモリ | 10,616 KB |
実行使用メモリ | 8,476 KB |
最終ジャッジ日時 | 2023-09-23 05:32:14 |
合計ジャッジ時間 | 1,529 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 20 ms
8,368 KB |
testcase_01 | AC | 19 ms
8,460 KB |
testcase_02 | AC | 19 ms
8,448 KB |
testcase_03 | AC | 19 ms
8,300 KB |
testcase_04 | AC | 20 ms
8,476 KB |
testcase_05 | AC | 20 ms
8,364 KB |
testcase_06 | AC | 20 ms
8,468 KB |
testcase_07 | AC | 19 ms
8,472 KB |
ソースコード
from collections import Counter def main(): balloon = list(input() for _ in range(3)) balloon_counter = Counter(balloon) print(balloon_counter.most_common(1)[0][0]) if __name__ == "__main__": main()