結果
| 問題 | No.63 ポッキーゲーム |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-02-24 20:44:44 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 370 bytes |
| 記録 | |
| コンパイル時間 | 645 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 21,632 KB |
| 最終ジャッジ日時 | 2026-06-06 08:15:11 |
| 合計ジャッジ時間 | 9,290 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 TLE * 1 -- * 10 |
ソースコード
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() # }}}