結果
問題 |
No.182 新規性の虜
|
ユーザー |
|
提出日時 | 2017-11-03 18:26:04 |
言語 | Ruby (3.4.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 134 bytes |
コンパイル時間 | 139 ms |
コンパイル使用メモリ | 7,296 KB |
実行使用メモリ | 36,352 KB |
最終ジャッジ日時 | 2024-11-22 15:37:59 |
合計ジャッジ時間 | 70,170 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 18 TLE * 9 |
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - test_case Syntax OK
ソースコード
test_case = gets.chomp.to_i list = gets.chomp.split.map(&:to_i) cnt = 0 list.uniq().each{|i| cnt += 1 if list.count(i) == 1} puts cnt