結果
問題 | No.63 ポッキーゲーム |
ユーザー |
![]() |
提出日時 | 2016-02-18 18:37:52 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 267 bytes |
コンパイル時間 | 612 ms |
コンパイル使用メモリ | 102,320 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-12 02:54:49 |
合計ジャッジ時間 | 1,316 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
import std.stdio,std.conv,std.string,std.range,std.math,std.algorithm;void main(){auto input = readln.split.to!(ulong[]);auto L = input[0], K = input[1];((L / (2 * K) - (L % (2 * K) ? 0 : 1)) * K).writeln;}