結果

問題 No.63 ポッキーゲーム
コンテスト
ユーザー _Clay____
提出日時 2018-10-20 20:48:39
言語 Rust
(1.97.1 + proconio + num + itertools + ACL)
コンパイル:
/usr/bin/rustc_custom
実行:
./target/release/main
結果
RE  
実行時間 -
コード長 284 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 455 ms
コンパイル使用メモリ 188,868 KB
実行使用メモリ 9,928 KB
最終ジャッジ日時 2026-09-26 11:29:50
合計ジャッジ時間 1,938 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 RE * 15
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

use std::io::*;
fn main() {
  let s = stdin();
  let mut buf = String::new();
  s.read_line(&mut buf).ok();
  let l: Vec<u16> = buf
    .trim()
    .split_whitespace()
    .map(|e| e.parse().ok().unwrap())
    .collect();
  let (l, k) = (l[0], l[1]);
  println!("{}",(l-1)/(k*2)*k);
}
0