結果
問題 |
No.63 ポッキーゲーム
|
ユーザー |
|
提出日時 | 2017-02-24 20:44:44 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 370 bytes |
コンパイル時間 | 645 ms |
コンパイル使用メモリ | 12,160 KB |
実行使用メモリ | 20,864 KB |
最終ジャッジ日時 | 2025-01-02 22:21:11 |
合計ジャッジ時間 | 39,547 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 18 TLE * 4 |
ソースコード
def main(): L, K = map(int, input().split()) haruka = 0 yu = 0 while L > 0: if L <= 2*K: haruka += L L = 0 else: haruka += K yu += K L -= 2*K print(yu) if __name__ == "__main__": # {{{ try: import test test.test() except: main() # }}}