結果

問題 No.182 新規性の虜
コンテスト
ユーザー mkanenobu
提出日時 2018-03-24 21:38:43
言語 Nim
(2.2.6)
コンパイル:
nim --nimcache=~ --hints:off -o:a.out -d:release cpp _filename_
実行:
./a.out
結果
TLE  
実行時間 -
コード長 206 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 2,528 ms
コンパイル使用メモリ 69,544 KB
実行使用メモリ 21,540 KB
最終ジャッジ日時 2026-03-20 00:01:32
合計ジャッジ時間 62,771 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20 TLE * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 28) Warning: imported and not used: 'algorithm' [UnusedImport]

ソースコード

diff #
raw source code

import strutils, sequtils, algorithm

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

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