結果

問題 No.63 ポッキーゲーム
ユーザー Watson
提出日時 2017-06-21 14:55:38
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 171 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-02 10:47:52
合計ジャッジ時間 1,527 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 14 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

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