結果
| 問題 |
No.467 隠されていたゲーム
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-12-17 00:49:12 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 91 bytes |
| コンパイル時間 | 73 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-11-30 22:11:52 |
| 合計ジャッジ時間 | 3,107 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 WA * 7 |
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - n Syntax OK
ソースコード
n,*d=`dd`.split.map &:to_i x=d.pop(2).max p d.include?(x) ? 1 : x>(m=d.max) ? (x+m-1)/m : 2