結果

問題 No.63 ポッキーゲーム
ユーザー otsunekootsuneko
提出日時 2021-05-07 00:49:45
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 101 bytes
コンパイル時間 405 ms
コンパイル使用メモリ 86,916 KB
実行使用メモリ 71,448 KB
最終ジャッジ日時 2023-10-12 16:55:41
合計ジャッジ時間 3,312 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,188 KB
testcase_01 AC 69 ms
71,268 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 70 ms
71,276 KB
testcase_05 AC 70 ms
71,356 KB
testcase_06 AC 69 ms
71,060 KB
testcase_07 AC 70 ms
71,372 KB
testcase_08 AC 71 ms
71,140 KB
testcase_09 AC 68 ms
71,236 KB
testcase_10 AC 71 ms
71,340 KB
testcase_11 AC 69 ms
71,364 KB
testcase_12 AC 71 ms
70,988 KB
testcase_13 WA -
testcase_14 AC 68 ms
71,316 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 68 ms
71,224 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

L,K = map(int,input().split())
L -= L%(2*K)
if L == 2*K:
    print(L//2-K)
else:
    print(L//2)
0