結果

問題 No.182 新規性の虜
ユーザー mesh1nek0x0mesh1nek0x0
提出日時 2018-07-15 13:58:14
言語 Ruby
(3.2.2)
結果
AC  
実行時間 210 ms / 5,000 ms
コード長 108 bytes
コンパイル時間 301 ms
コンパイル使用メモリ 11,204 KB
実行使用メモリ 40,824 KB
最終ジャッジ日時 2023-08-06 04:56:10
合計ジャッジ時間 5,363 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,224 KB
testcase_01 AC 82 ms
15,300 KB
testcase_02 AC 82 ms
15,028 KB
testcase_03 AC 87 ms
15,256 KB
testcase_04 AC 83 ms
15,320 KB
testcase_05 AC 84 ms
15,224 KB
testcase_06 AC 82 ms
15,228 KB
testcase_07 AC 83 ms
15,332 KB
testcase_08 AC 140 ms
28,472 KB
testcase_09 AC 187 ms
37,472 KB
testcase_10 AC 179 ms
35,148 KB
testcase_11 AC 169 ms
29,876 KB
testcase_12 AC 114 ms
21,520 KB
testcase_13 AC 82 ms
15,144 KB
testcase_14 AC 82 ms
15,136 KB
testcase_15 AC 84 ms
15,128 KB
testcase_16 AC 84 ms
15,140 KB
testcase_17 AC 83 ms
15,040 KB
testcase_18 AC 138 ms
22,360 KB
testcase_19 AC 118 ms
20,920 KB
testcase_20 AC 109 ms
19,160 KB
testcase_21 AC 139 ms
23,048 KB
testcase_22 AC 111 ms
19,760 KB
testcase_23 AC 81 ms
15,120 KB
testcase_24 AC 210 ms
40,824 KB
testcase_25 AC 124 ms
21,700 KB
testcase_26 AC 97 ms
17,612 KB
testcase_27 AC 82 ms
15,352 KB
evil01.txt AC 207 ms
41,644 KB
evil02.txt AC 214 ms
41,652 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#!/bin/ruby
N = gets.chomp
puts gets.chomp.split(' ').group_by { |num| num }.select { |k, v| v.one? }.length
0