結果
| 問題 | No.63 ポッキーゲーム |
| コンテスト | |
| ユーザー |
gim
|
| 提出日時 | 2017-06-15 18:25:57 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 88 ms / 5,000 ms |
| コード長 | 128 bytes |
| 記録 | |
| コンパイル時間 | 121 ms |
| コンパイル使用メモリ | 77,500 KB |
| 最終ジャッジ日時 | 2025-12-04 00:08:41 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
n=raw_input()
N=map(int, n.split())
c=0
L, K=N[0], N[1]
yuu=0
cnt=L/(K*2)
if L%(K*2)==0:
cnt-=1
yuu+=K*cnt
print yuu
gim