結果
問題 | No.63 ポッキーゲーム |
ユーザー |
![]() |
提出日時 | 2017-06-15 18:25:57 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 14 ms / 5,000 ms |
コード長 | 128 bytes |
コンパイル時間 | 52 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,144 KB |
最終ジャッジ日時 | 2024-12-24 05:32:41 |
合計ジャッジ時間 | 1,183 ms |
ジャッジサーバーID (参考情報) |
judge2 / 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