結果
| 問題 | No.182 新規性の虜 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-03-24 21:38:43 |
| 言語 | Nim (2.2.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 206 bytes |
| 記録 | |
| コンパイル時間 | 3,215 ms |
| コンパイル使用メモリ | 65,528 KB |
| 実行使用メモリ | 15,904 KB |
| 最終ジャッジ日時 | 2024-06-30 05:33:10 |
| 合計ジャッジ時間 | 10,048 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 TLE * 1 -- * 21 |
コンパイルメッセージ
/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))