結果

問題 No.477 MVP
ユーザー cielciel
提出日時 2017-01-27 23:06:04
言語 Ruby
(3.2.2)
結果
AC  
実行時間 81 ms / 1,000 ms
コード長 43 bytes
コンパイル時間 408 ms
コンパイル使用メモリ 11,316 KB
実行使用メモリ 15,356 KB
最終ジャッジ日時 2023-08-25 04:37:30
合計ジャッジ時間 1,830 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
15,140 KB
testcase_01 AC 80 ms
15,164 KB
testcase_02 AC 80 ms
15,356 KB
testcase_03 AC 80 ms
15,228 KB
testcase_04 AC 79 ms
15,100 KB
testcase_05 AC 78 ms
15,236 KB
testcase_06 AC 79 ms
15,048 KB
testcase_07 AC 81 ms
15,124 KB
testcase_08 AC 80 ms
15,052 KB
testcase_09 AC 80 ms
15,124 KB
testcase_10 AC 80 ms
15,208 KB
testcase_11 AC 81 ms
15,220 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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