結果
| 問題 |
No.63 ポッキーゲーム
|
| コンテスト | |
| ユーザー |
a_ten
|
| 提出日時 | 2016-03-13 21:15:09 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 12 ms / 5,000 ms |
| コード長 | 148 bytes |
| コンパイル時間 | 93 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,144 KB |
| 最終ジャッジ日時 | 2024-12-24 05:02:09 |
| 合計ジャッジ時間 | 1,230 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#coding:utf-8 L,K=map(int,raw_input().split()) if L <= K*2: print 0 else: if L % (K*2) == 0: print (L//(K*2)*K-K) else: print (L//(K*2))*K
a_ten