結果

問題 No.46 はじめのn歩
ユーザー dyun
提出日時 2017-12-29 12:29:56
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 5,000 ms
コード長 249 bytes
コンパイル時間 14,332 ms
コンパイル使用メモリ 380,544 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-21 10:27:54
合計ジャッジ時間 15,168 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

fn main() {
    let mut line = String::new();
    std::io::stdin().read_line(&mut line).expect("");
    let ab: Vec<f64> = line.split_whitespace()
        .map(|x| x.parse().unwrap())
        .collect();
    println!("{}", (ab[1] / ab[0]).ceil());
}
0