結果
| 問題 | No.63 ポッキーゲーム |
| コンテスト | |
| ユーザー |
Maricom_tkg
|
| 提出日時 | 2018-10-23 16:53:44 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 349 bytes |
| 記録 | |
| コンパイル時間 | 12,589 ms |
| コンパイル使用メモリ | 184,124 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-13 12:53:25 |
| 合計ジャッジ時間 | 8,760 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 5 |
ソースコード
use std::io::Read;
fn main() {
let mut buf = String::new();
std::io::stdin().read_to_string(&mut buf).unwrap();
let mut iter = buf.split_whitespace();
let l: usize = iter.next().unwrap().parse().unwrap();
let k: usize = iter.next().unwrap().parse().unwrap();
println!("{}", (l/2).saturating_sub(1) / k * k);
}
Maricom_tkg