結果

問題 No.182 新規性の虜
ユーザー mesh1nek0x0mesh1nek0x0
提出日時 2018-07-15 13:58:14
言語 Ruby
(3.3.0)
結果
AC  
実行時間 179 ms / 5,000 ms
コード長 108 bytes
コンパイル時間 124 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 39,764 KB
最終ジャッジ日時 2024-04-24 01:19:54
合計ジャッジ時間 4,310 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
12,160 KB
testcase_01 AC 73 ms
12,160 KB
testcase_02 AC 73 ms
12,288 KB
testcase_03 AC 76 ms
12,160 KB
testcase_04 AC 74 ms
12,160 KB
testcase_05 AC 76 ms
12,288 KB
testcase_06 AC 75 ms
12,032 KB
testcase_07 AC 77 ms
12,160 KB
testcase_08 AC 133 ms
26,376 KB
testcase_09 AC 170 ms
37,380 KB
testcase_10 AC 156 ms
35,308 KB
testcase_11 AC 140 ms
28,020 KB
testcase_12 AC 111 ms
19,048 KB
testcase_13 AC 78 ms
12,288 KB
testcase_14 AC 74 ms
12,288 KB
testcase_15 AC 73 ms
12,160 KB
testcase_16 AC 75 ms
12,288 KB
testcase_17 AC 73 ms
12,160 KB
testcase_18 AC 113 ms
19,792 KB
testcase_19 AC 108 ms
18,164 KB
testcase_20 AC 93 ms
16,156 KB
testcase_21 AC 125 ms
20,788 KB
testcase_22 AC 107 ms
17,400 KB
testcase_23 AC 76 ms
12,288 KB
testcase_24 AC 179 ms
39,764 KB
testcase_25 AC 110 ms
18,688 KB
testcase_26 AC 89 ms
14,916 KB
testcase_27 AC 76 ms
12,160 KB
evil01.txt AC 175 ms
40,572 KB
evil02.txt AC 185 ms
40,572 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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