結果

問題 No.182 新規性の虜
ユーザー nak2yoshi
提出日時 2016-02-23 01:51:27
言語 D
(dmd 2.109.1)
結果
TLE  
実行時間 -
コード長 256 bytes
コンパイル時間 1,056 ms
コンパイル使用メモリ 104,904 KB
実行使用メモリ 12,108 KB
最終ジャッジ日時 2024-06-12 03:01:08
合計ジャッジ時間 34,952 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20 TLE * 2 -- * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.stdio,
       std.conv,
       std.string,
       std.range,
       std.math,
       std.algorithm;

void main()
{
    auto N = readln.strip.to!int;
    auto A = readln.split.to!(int[]);

    A.uniq.map!(a => A.count(a)).count!"a==1".writeln;
}
0