結果
問題 |
No.706 多眼生物の調査
|
ユーザー |
|
提出日時 | 2018-07-08 17:33:27 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 206 bytes |
コンパイル時間 | 93 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-07 18:43:27 |
合計ジャッジ時間 | 942 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 5 |
ソースコード
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: y = max ans = x print(ans-2)