結果
| 問題 | No.182 新規性の虜 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-03-24 21:38:43 |
| 言語 | Nim (2.2.6) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 206 bytes |
| 記録 | |
| コンパイル時間 | 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]
ソースコード
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))