結果

問題 No.477 MVP
ユーザー tabataba
提出日時 2017-04-03 01:39:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 102 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 10,632 KB
実行使用メモリ 9,180 KB
最終ジャッジ日時 2023-09-22 07:56:45
合計ジャッジ時間 1,267 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
9,172 KB
testcase_01 AC 21 ms
8,932 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 21 ms
9,092 KB
testcase_05 WA -
testcase_06 AC 21 ms
9,020 KB
testcase_07 AC 21 ms
9,172 KB
testcase_08 AC 21 ms
9,020 KB
testcase_09 AC 20 ms
9,096 KB
testcase_10 AC 20 ms
8,932 KB
testcase_11 AC 20 ms
9,096 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import *
import math
n,k=map(Decimal,input().split())
a=n-(n/(k+1))*k
print(math.ceil(a))
0