結果

問題 No.63 ポッキーゲーム
ユーザー tyntyntyntyn
提出日時 2019-09-19 16:41:25
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 822 ms / 5,000 ms
コード長 83 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 87,196 KB
実行使用メモリ 75,632 KB
最終ジャッジ日時 2023-09-26 13:45:09
合計ジャッジ時間 5,938 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,288 KB
testcase_01 AC 71 ms
71,284 KB
testcase_02 AC 70 ms
71,380 KB
testcase_03 AC 71 ms
71,180 KB
testcase_04 AC 70 ms
71,340 KB
testcase_05 AC 70 ms
71,384 KB
testcase_06 AC 72 ms
70,932 KB
testcase_07 AC 79 ms
75,432 KB
testcase_08 AC 74 ms
75,448 KB
testcase_09 AC 75 ms
75,412 KB
testcase_10 AC 79 ms
75,420 KB
testcase_11 AC 822 ms
75,632 KB
testcase_12 AC 89 ms
75,380 KB
testcase_13 AC 820 ms
75,600 KB
testcase_14 AC 86 ms
75,472 KB
testcase_15 AC 85 ms
75,496 KB
testcase_16 AC 72 ms
75,516 KB
testcase_17 AC 763 ms
75,480 KB
testcase_18 AC 73 ms
75,368 KB
testcase_19 AC 172 ms
75,532 KB
testcase_20 AC 84 ms
75,560 KB
testcase_21 AC 106 ms
75,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

l, k = map(int, input().split())
m = 0
while m + 2*k < l:
    m += 2*k
print(m//2)
0