結果

問題 No.182 新規性の虜
ユーザー mkanenobu
提出日時 2018-03-24 21:36:03
言語 Nim
(2.2.0)
結果
TLE  
実行時間 -
コード長 177 bytes
コンパイル時間 3,065 ms
コンパイル使用メモリ 66,288 KB
実行使用メモリ 14,620 KB
最終ジャッジ日時 2024-06-30 05:33:20
合計ジャッジ時間 9,552 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 TLE * 1 -- * 21
権限があれば一括ダウンロードができます
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 28) Warning: imported and not used: 'algorithm' [UnusedImport]

ソースコード

diff #

import strutils, sequtils, algorithm

var
    n = readLine(stdin).parseInt
    a:seq[string] = readLine(stdin).split

echo len(a.filter(proc(x:string):bool = count(a, x) == 1))
0