結果
問題 | No.63 ポッキーゲーム |
ユーザー |
|
提出日時 | 2016-04-09 21:49:25 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 225 bytes |
コンパイル時間 | 810 ms |
コンパイル使用メモリ | 105,744 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-12 03:27:11 |
合計ジャッジ時間 | 1,580 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
import std.stdio, std.conv, std.string, std.range, std.array, std.algorithm;int main(){auto I = readln.strip.split.to!(real[]);I[0]/=2;((I[0]/I[1] - (I[0]%I[1]==0 ? 1 : 0) ).to!(int)*I[1]).to!int.writeln;return 0;}