結果
問題 | No.63 ポッキーゲーム |
ユーザー |
|
提出日時 | 2016-04-09 21:41:26 |
言語 | D (dmd 2.109.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 210 bytes |
コンパイル時間 | 993 ms |
コンパイル使用メモリ | 100,224 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-12 03:26:52 |
合計ジャッジ時間 | 1,935 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 WA * 12 |
ソースコード
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]==0 ? 0 : I[0]/I[1]).to!(int)*I[1]).writeln; return 0; }