結果

問題 No.182 新規性の虜
ユーザー LeonardoneLeonardone
提出日時 2015-10-17 02:04:41
言語 Ruby
(3.3.0)
結果
AC  
実行時間 152 ms / 5,000 ms
コード長 178 bytes
コンパイル時間 190 ms
コンパイル使用メモリ 11,444 KB
実行使用メモリ 26,584 KB
最終ジャッジ日時 2023-08-27 07:35:17
合計ジャッジ時間 4,787 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,028 KB
testcase_01 AC 82 ms
15,028 KB
testcase_02 AC 82 ms
15,028 KB
testcase_03 AC 82 ms
15,252 KB
testcase_04 AC 83 ms
15,148 KB
testcase_05 AC 81 ms
15,028 KB
testcase_06 AC 83 ms
15,140 KB
testcase_07 AC 81 ms
15,296 KB
testcase_08 AC 116 ms
20,896 KB
testcase_09 AC 138 ms
25,468 KB
testcase_10 AC 129 ms
24,572 KB
testcase_11 AC 120 ms
21,348 KB
testcase_12 AC 100 ms
17,768 KB
testcase_13 AC 80 ms
15,136 KB
testcase_14 AC 80 ms
15,224 KB
testcase_15 AC 80 ms
15,024 KB
testcase_16 AC 81 ms
15,116 KB
testcase_17 AC 82 ms
15,160 KB
testcase_18 AC 119 ms
19,928 KB
testcase_19 AC 113 ms
18,760 KB
testcase_20 AC 102 ms
17,444 KB
testcase_21 AC 124 ms
20,468 KB
testcase_22 AC 105 ms
17,944 KB
testcase_23 AC 82 ms
15,120 KB
testcase_24 AC 152 ms
26,584 KB
testcase_25 AC 135 ms
21,232 KB
testcase_26 AC 89 ms
15,928 KB
testcase_27 AC 83 ms
15,284 KB
evil01.txt AC 155 ms
26,972 KB
evil02.txt AC 155 ms
26,904 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#! ruby
# yukicoder My Practice
# author: Leonardone @ NEETSDKASU

N = gets.to_i
A = gets.split.map(&:to_i)

m = Hash.new 0

A.each do |x|
	m[x] += 1
end

puts m.values.count(1)
0