結果
| 問題 | No.706 多眼生物の調査 | 
| コンテスト | |
| ユーザー |  ikd | 
| 提出日時 | 2018-07-15 19:06:28 | 
| 言語 | Nim (2.2.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 3 ms / 2,000 ms | 
| コード長 | 219 bytes | 
| コンパイル時間 | 3,666 ms | 
| コンパイル使用メモリ | 65,636 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-01 03:11:36 | 
| 合計ジャッジ時間 | 3,778 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 5 | 
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 18) Warning: imported and not used: 'sequtils' [UnusedImport]
ソースコード
import strutils, sequtils
var
  n=stdin.readLine.parseInt
  freq=newSeq[int](2000)
for _ in 0..<n:
  freq[stdin.readLine.len-2]+=1
var mx=freq.max
for x in countdown(1000, 0):
  if freq[x]==mx:
    echo x
    break
            
            
            
        