結果
問題 |
No.706 多眼生物の調査
|
ユーザー |
|
提出日時 | 2018-07-08 17:35:11 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 206 bytes |
コンパイル時間 | 207 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-07 18:46:38 |
合計ジャッジ時間 | 914 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 WA * 1 |
ソースコード
N = int(input()) dic = {} for i in range(0, N): S = input() dic[len(S)] = dic.get(len(S), 0) + 1 max = 0 ans = 0 for x, y in dic.items(): if y > max: max = y ans = x print(ans-2)