結果

問題 No.182 新規性の虜
コンテスト
ユーザー mkanenobu
提出日時 2018-03-24 21:38:43
言語 Nim
(2.2.8)
コンパイル:
nim --nimcache=~ --hints:off -o:a.out -d:release cpp _filename_
実行:
./a.out
結果
TLE  
実行時間 -
コード長 206 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 2,804 ms
コンパイル使用メモリ 70,264 KB
実行使用メモリ 10,368 KB
最終ジャッジ日時 2026-08-02 05:37:02
合計ジャッジ時間 10,110 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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 #
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