結果
問題 |
No.706 多眼生物の調査
|
ユーザー |
|
提出日時 | 2018-07-03 13:00:16 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 270 bytes |
コンパイル時間 | 81 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-01 01:56:08 |
合計ジャッジ時間 | 860 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 WA * 1 |
ソースコード
l = list() res = 0 pl = 0 for i in range(1001): l.append(0) for i in range(int(input())): s = input() l[len(s)-2] += 1 else: for j,lj in enumerate(l): if lj >= res and j > pl: res = lj pl = j else: print(pl)