結果

問題 No.63 ポッキーゲーム
ユーザー megumeguro
提出日時 2020-04-11 15:53:37
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 226 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 17,440 KB
最終ジャッジ日時 2024-09-19 03:40:38
合計ジャッジ時間 8,558 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11 TLE * 1 -- * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8

l, k = map(int,input().split())
#l = int(input())
#N = int(input())
#W = list(map(int,input().split()))

cnt = 0
while True:
    l -= 2 * k
    if l > 0:
        cnt += 1
    else:
        break
print(cnt * k)
0