結果
問題 |
No.706 多眼生物の調査
|
ユーザー |
|
提出日時 | 2018-07-03 13:21:52 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 2,000 ms |
コード長 | 359 bytes |
コンパイル時間 | 133 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-01 01:57:45 |
合計ジャッジ時間 | 844 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 |
ソースコード
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 j == 50: # break #print(j,lj) if lj >= res and j >= pl: res = lj pl = j # print(res,pl) else: print(pl)