結果

問題 No.388 階段 (1)
ユーザー halship
提出日時 2017-06-18 21:46:02
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 258 bytes
コンパイル時間 13,077 ms
コンパイル使用メモリ 403,604 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-01 20:33:03
合計ジャッジ時間 12,929 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

use std::io;

fn main() {
    let mut sf = String::new();
    io::stdin().read_line(&mut sf).unwrap();
    let sf: Vec<u32> = sf.trim()
        .split(' ')
        .filter_map(|s| s.parse().ok())
        .collect();

    println!("{}", sf[0] / sf[1] + 1);
}
0