結果

問題 No.477 MVP
ユーザー nebukuro09nebukuro09
提出日時 2017-01-27 22:39:15
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 86 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 6,656 KB
実行使用メモリ 6,064 KB
最終ジャッジ日時 2023-08-25 04:10:33
合計ジャッジ時間 999 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,916 KB
testcase_01 AC 12 ms
6,020 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 11 ms
5,920 KB
testcase_05 WA -
testcase_06 AC 11 ms
5,844 KB
testcase_07 AC 11 ms
5,904 KB
testcase_08 AC 11 ms
5,908 KB
testcase_09 AC 11 ms
5,840 KB
testcase_10 AC 11 ms
5,840 KB
testcase_11 AC 11 ms
5,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, k = map(int, raw_input().split())
print n/(k+1) + (n % (k+1) != 0) if n > k else 1
0