結果

問題 No.63 ポッキーゲーム
ユーザー scillicettscillicett
提出日時 2019-08-29 04:03:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 139 bytes
コンパイル時間 260 ms
コンパイル使用メモリ 10,524 KB
実行使用メモリ 9,228 KB
最終ジャッジ日時 2023-08-11 03:54:58
合計ジャッジ時間 2,061 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
8,868 KB
testcase_01 AC 21 ms
8,892 KB
testcase_02 AC 22 ms
8,996 KB
testcase_03 AC 21 ms
9,064 KB
testcase_04 AC 22 ms
8,932 KB
testcase_05 AC 22 ms
9,116 KB
testcase_06 AC 21 ms
9,012 KB
testcase_07 AC 21 ms
9,156 KB
testcase_08 AC 21 ms
9,056 KB
testcase_09 AC 21 ms
9,172 KB
testcase_10 AC 21 ms
9,180 KB
testcase_11 AC 21 ms
9,068 KB
testcase_12 AC 21 ms
9,004 KB
testcase_13 WA -
testcase_14 AC 21 ms
9,204 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 21 ms
9,012 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
from decimal import *
l,k = map(int,input().split())

if l/k <= 2:
    print(0)
else:
    print(math.floor(Decimal(l/(k*2)))*k)
0