結果

問題 No.63 ポッキーゲーム
ユーザー fgshunfgshun
提出日時 2020-09-26 22:39:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 236 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 10,744 KB
実行使用メモリ 7,972 KB
最終ジャッジ日時 2023-09-12 11:13:29
合計ジャッジ時間 1,439 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,872 KB
testcase_01 AC 15 ms
7,864 KB
testcase_02 AC 17 ms
7,804 KB
testcase_03 AC 15 ms
7,760 KB
testcase_04 WA -
testcase_05 AC 15 ms
7,808 KB
testcase_06 AC 15 ms
7,916 KB
testcase_07 AC 15 ms
7,808 KB
testcase_08 AC 16 ms
7,748 KB
testcase_09 AC 15 ms
7,748 KB
testcase_10 AC 15 ms
7,916 KB
testcase_11 AC 16 ms
7,868 KB
testcase_12 AC 15 ms
7,916 KB
testcase_13 WA -
testcase_14 AC 15 ms
7,820 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 16 ms
7,800 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys


def resolve(in_):
    L, K = map(int, next(in_).split())
    
    K2 = K * 2
    a = L // K2
    ans = a * K

    return ans


def main():
    ans = resolve(sys.stdin)
    print(ans)


if __name__ == '__main__':
    main()
0