結果

問題 No.467 隠されていたゲーム
ユーザー suppy193suppy193
提出日時 2017-01-11 11:58:50
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 265 ms
コンパイル使用メモリ 11,332 KB
実行使用メモリ 15,356 KB
最終ジャッジ日時 2023-08-23 06:58:41
合計ジャッジ時間 3,650 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
15,264 KB
testcase_01 WA -
testcase_02 AC 80 ms
15,084 KB
testcase_03 WA -
testcase_04 AC 81 ms
15,288 KB
testcase_05 AC 83 ms
15,156 KB
testcase_06 AC 81 ms
15,112 KB
testcase_07 AC 81 ms
15,032 KB
testcase_08 AC 81 ms
15,288 KB
testcase_09 AC 81 ms
15,128 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 80 ms
15,084 KB
testcase_13 AC 80 ms
15,112 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 80 ms
15,024 KB
testcase_18 AC 78 ms
15,156 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 80 ms
15,168 KB
testcase_23 AC 80 ms
15,284 KB
testcase_24 AC 79 ms
15,068 KB
testcase_25 AC 79 ms
15,156 KB
testcase_26 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - n
Syntax OK

ソースコード

diff #

n = gets.to_i
cheby = gets.strip.split(' ').map(&:to_i)
#p @cheby
goal = gets.strip.split(' ').map(&:to_i)
#p @goal


p (goal.max.to_f / cheby.max).ceil
0