結果
| 問題 |
No.79 過小評価ダメ・ゼッタイ
|
| コンテスト | |
| ユーザー |
siman
|
| 提出日時 | 2015-01-10 22:52:54 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 167 bytes |
| コンパイル時間 | 211 ms |
| コンパイル使用メモリ | 7,296 KB |
| 実行使用メモリ | 23,808 KB |
| 最終ジャッジ日時 | 2024-06-13 03:38:11 |
| 合計ジャッジ時間 | 7,372 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 3 |
| other | WA * 1 TLE * 1 -- * 20 |
コンパイルメッセージ
Main.rb:3: warning: assigned but unused variable - n Syntax OK
ソースコード
class A
def initialize
n = gets.chomp.to_i
l = gets.chomp.split(' ').map(&:to_i)
p l.group_by{|i| l.count(i)}.first.last.uniq.sort.last
end
end
A.new
siman