結果
問題 |
No.182 新規性の虜
|
ユーザー |
![]() |
提出日時 | 2016-03-19 23:45:29 |
言語 | Ruby (3.4.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 168 bytes |
コンパイル時間 | 195 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 22,948 KB |
最終ジャッジ日時 | 2024-10-01 09:18:44 |
合計ジャッジ時間 | 7,692 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 TLE * 1 -- * 21 |
コンパイルメッセージ
Main.rb:3: warning: assigned but unused variable - n Syntax OK
ソースコード
class Yukicoder def initialize n = gets.chomp.to_i a = gets.chomp.split(' ').map(&:to_i) puts a.select{|n| a.count(n) == 1}.size end end Yukicoder.new