結果

問題 No.63 ポッキーゲーム
ユーザー lunaticcrylunaticcry
提出日時 2016-01-27 22:44:48
言語 Python2
(2.7.18)
結果
TLE  
実行時間 -
コード長 204 bytes
コンパイル時間 178 ms
コンパイル使用メモリ 7,104 KB
実行使用メモリ 12,892 KB
最終ジャッジ日時 2023-10-21 16:27:31
合計ジャッジ時間 7,880 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

# -*- coding: utf-8 -*-
__author__ = 'yuuki'
#No.63 ポッキーゲーム

L,K = map(int,raw_input().split())
i = 0

while(1):
    i += 1
    if L - ((K*2)*i) <= 0:
        print K * (i - 1)
        break
0