結果

問題 No.477 MVP
ユーザー kohei2019kohei2019
提出日時 2022-01-29 08:05:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 1,000 ms
コード長 80 bytes
コンパイル時間 1,030 ms
コンパイル使用メモリ 87,172 KB
実行使用メモリ 71,692 KB
最終ジャッジ日時 2023-08-30 04:44:02
合計ジャッジ時間 2,684 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,488 KB
testcase_01 AC 72 ms
71,444 KB
testcase_02 AC 73 ms
71,372 KB
testcase_03 AC 72 ms
71,400 KB
testcase_04 AC 71 ms
71,220 KB
testcase_05 AC 72 ms
71,692 KB
testcase_06 AC 71 ms
71,596 KB
testcase_07 AC 73 ms
71,560 KB
testcase_08 AC 73 ms
71,268 KB
testcase_09 AC 73 ms
71,424 KB
testcase_10 AC 73 ms
71,376 KB
testcase_11 AC 73 ms
71,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K = map(int,input().split())
print(-(-N//(K+1)) if N%(K+1)!=0 else N//(K+1)+1)
0