結果
問題 |
No.388 階段 (1)
|
ユーザー |
|
提出日時 | 2018-07-16 13:19:16 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 312 bytes |
コンパイル時間 | 16,989 ms |
コンパイル使用メモリ | 378,036 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-17 05:04:51 |
合計ジャッジ時間 | 13,205 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
fn main() { let mut input = String::new(); std::io::stdin().read_line(&mut input).ok(); let mut input = input .trim() .split_whitespace() .map(|x| x.parse::<i32>().unwrap()); let (s, f) = (input.next().unwrap(), input.next().unwrap()); println!("{}", s / f + 1); }