結果

問題 No.182 新規性の虜
ユーザー Takuya NoguchiTakuya Noguchi
提出日時 2018-03-03 22:18:43
言語 Ruby
(3.3.0)
結果
AC  
実行時間 166 ms / 5,000 ms
コード長 116 bytes
コンパイル時間 246 ms
コンパイル使用メモリ 11,256 KB
実行使用メモリ 28,952 KB
最終ジャッジ日時 2023-09-18 02:00:02
合計ジャッジ時間 5,163 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
15,064 KB
testcase_01 AC 83 ms
15,100 KB
testcase_02 AC 83 ms
15,288 KB
testcase_03 AC 83 ms
15,244 KB
testcase_04 AC 83 ms
15,276 KB
testcase_05 AC 83 ms
15,280 KB
testcase_06 AC 84 ms
15,280 KB
testcase_07 AC 85 ms
15,068 KB
testcase_08 AC 125 ms
22,084 KB
testcase_09 AC 149 ms
27,344 KB
testcase_10 AC 143 ms
26,412 KB
testcase_11 AC 129 ms
22,832 KB
testcase_12 AC 106 ms
18,404 KB
testcase_13 AC 84 ms
15,280 KB
testcase_14 AC 84 ms
15,276 KB
testcase_15 AC 85 ms
15,148 KB
testcase_16 AC 85 ms
15,252 KB
testcase_17 AC 85 ms
15,376 KB
testcase_18 AC 126 ms
20,392 KB
testcase_19 AC 117 ms
19,096 KB
testcase_20 AC 108 ms
17,892 KB
testcase_21 AC 134 ms
20,916 KB
testcase_22 AC 110 ms
18,528 KB
testcase_23 AC 86 ms
15,128 KB
testcase_24 AC 166 ms
28,952 KB
testcase_25 AC 139 ms
21,212 KB
testcase_26 AC 91 ms
16,624 KB
testcase_27 AC 85 ms
15,332 KB
evil01.txt AC 172 ms
29,476 KB
evil02.txt AC 172 ms
29,440 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
puts gets.split.map(&:to_i).each_with_object(Hash.new(0)) { |n, h|
  h[n] += 1
}.select { |_, c| c == 1 }.size
0