結果

問題 No.182 新規性の虜
ユーザー cielciel
提出日時 2015-04-16 23:21:55
言語 Ruby
(3.3.0)
結果
AC  
実行時間 164 ms / 5,000 ms
コード長 88 bytes
コンパイル時間 110 ms
コンパイル使用メモリ 11,508 KB
実行使用メモリ 26,768 KB
最終ジャッジ日時 2023-08-27 07:02:17
合計ジャッジ時間 4,671 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,300 KB
testcase_01 AC 83 ms
15,324 KB
testcase_02 AC 83 ms
15,264 KB
testcase_03 AC 81 ms
15,044 KB
testcase_04 AC 83 ms
15,208 KB
testcase_05 AC 82 ms
15,112 KB
testcase_06 AC 82 ms
15,048 KB
testcase_07 AC 82 ms
15,304 KB
testcase_08 AC 124 ms
21,464 KB
testcase_09 AC 157 ms
25,704 KB
testcase_10 AC 147 ms
23,996 KB
testcase_11 AC 133 ms
21,948 KB
testcase_12 AC 106 ms
18,476 KB
testcase_13 AC 83 ms
15,272 KB
testcase_14 AC 83 ms
15,132 KB
testcase_15 AC 82 ms
15,132 KB
testcase_16 AC 82 ms
15,132 KB
testcase_17 AC 83 ms
15,120 KB
testcase_18 AC 118 ms
19,884 KB
testcase_19 AC 112 ms
18,880 KB
testcase_20 AC 100 ms
17,804 KB
testcase_21 AC 130 ms
20,220 KB
testcase_22 AC 106 ms
18,152 KB
testcase_23 AC 81 ms
15,216 KB
testcase_24 AC 164 ms
26,768 KB
testcase_25 AC 127 ms
20,476 KB
testcase_26 AC 91 ms
16,456 KB
testcase_27 AC 82 ms
15,164 KB
evil01.txt AC 167 ms
27,248 KB
evil02.txt AC 167 ms
27,456 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#!/usr/bin/ruby
gets
h=Hash.new(0)
gets.split.each{|e|h[e.to_i]+=1}
p h.count{|k,v|v==1}
0