結果
問題 |
No.46 はじめのn歩
|
ユーザー |
|
提出日時 | 2023-07-26 03:06:03 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 326 bytes |
コンパイル時間 | 12,477 ms |
コンパイル使用メモリ | 380,744 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-02 19:37:01 |
合計ジャッジ時間 | 13,258 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
fn main() { let mut buf = String::new(); std::io::stdin().read_line(&mut buf).unwrap(); let mut iter = buf .trim() .split_whitespace() .map(|c| c.parse::<f64>().unwrap()); let (a, b) = (iter.next().unwrap(), iter.next().unwrap()); let ans = b / a; println!("{}", ans.ceil()); }