結果

問題 No.477 MVP
ユーザー tubo28tubo28
提出日時 2017-01-27 22:25:00
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 51 bytes
コンパイル時間 53 ms
コンパイル使用メモリ 11,492 KB
実行使用メモリ 15,256 KB
最終ジャッジ日時 2023-08-25 03:53:38
合計ジャッジ時間 1,884 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,252 KB
testcase_01 AC 83 ms
15,200 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 82 ms
15,188 KB
testcase_05 WA -
testcase_06 AC 83 ms
15,016 KB
testcase_07 AC 83 ms
15,244 KB
testcase_08 AC 82 ms
15,248 KB
testcase_09 AC 83 ms
15,256 KB
testcase_10 AC 82 ms
15,160 KB
testcase_11 AC 84 ms
15,152 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n,k = gets.split.map(&:to_i)
x = k+1
p (n+x-1) / x
0