結果
問題 |
No.63 ポッキーゲーム
|
ユーザー |
|
提出日時 | 2016-04-09 21:47:43 |
言語 | D (dmd 2.109.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 217 bytes |
コンパイル時間 | 1,033 ms |
コンパイル使用メモリ | 100,224 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-12 03:26:54 |
合計ジャッジ時間 | 1,449 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 WA * 7 |
ソースコード
import std.stdio, std.conv, std.string, std.range, std.array, std.algorithm; int main(){ auto I = readln.strip.split.to!(int[]); I[0]/=2; ((I[0]/I[1] - (I[0]%I[1]==0 ? 1 : 0) ).to!(int)*I[1]).writeln; return 0; }