結果

問題 No.63 ポッキーゲーム
ユーザー DexctersuDexctersu
提出日時 2017-05-21 17:56:29
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
TLE  
(最新)
OLE  
(最初)
実行時間 -
コード長 146 bytes
コンパイル時間 522 ms
コンパイル使用メモリ 11,720 KB
実行使用メモリ 14,780 KB
最終ジャッジ日時 2023-10-19 12:04:33
合計ジャッジ時間 7,462 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,112 KB
testcase_01 AC 33 ms
10,112 KB
testcase_02 AC 29 ms
10,112 KB
testcase_03 AC 30 ms
10,112 KB
testcase_04 TLE -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

L,K=map(int,input().split())
i=0
while True:
    i+=1
    if L-(2*K)==0:
        print(0)
    elif L<(2*K)*i:
        print(K*(i-1))
        break
0