結果

問題 No.182 新規性の虜
ユーザー code-devocode-devo
提出日時 2016-01-06 03:30:01
言語 Ruby
(3.3.0)
結果
AC  
実行時間 190 ms / 5,000 ms
コード長 93 bytes
コンパイル時間 344 ms
コンパイル使用メモリ 11,388 KB
実行使用メモリ 36,392 KB
最終ジャッジ日時 2023-08-27 07:40:58
合計ジャッジ時間 4,985 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
15,068 KB
testcase_01 AC 76 ms
15,028 KB
testcase_02 AC 76 ms
15,024 KB
testcase_03 AC 76 ms
15,204 KB
testcase_04 AC 78 ms
15,240 KB
testcase_05 AC 74 ms
15,204 KB
testcase_06 AC 75 ms
15,028 KB
testcase_07 AC 75 ms
15,316 KB
testcase_08 AC 135 ms
25,704 KB
testcase_09 AC 168 ms
34,556 KB
testcase_10 AC 155 ms
32,456 KB
testcase_11 AC 144 ms
27,572 KB
testcase_12 AC 102 ms
20,352 KB
testcase_13 AC 76 ms
15,308 KB
testcase_14 AC 76 ms
15,276 KB
testcase_15 AC 76 ms
15,132 KB
testcase_16 AC 76 ms
15,340 KB
testcase_17 AC 76 ms
15,076 KB
testcase_18 AC 117 ms
20,172 KB
testcase_19 AC 111 ms
19,204 KB
testcase_20 AC 99 ms
18,120 KB
testcase_21 AC 127 ms
21,276 KB
testcase_22 AC 106 ms
18,792 KB
testcase_23 AC 78 ms
15,288 KB
testcase_24 AC 190 ms
36,392 KB
testcase_25 AC 126 ms
20,316 KB
testcase_26 AC 88 ms
17,036 KB
testcase_27 AC 78 ms
15,132 KB
evil01.txt AC 189 ms
36,668 KB
evil02.txt AC 183 ms
36,744 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

h = Hash.new{0}
gets
gets.split.each do |s|
  h[s] += 1
end
puts h.select{|k,v| v == 1}.size
0