結果
問題 | No.388 階段 (1) |
ユーザー |
![]() |
提出日時 | 2022-11-23 19:04:04 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 345 bytes |
コンパイル時間 | 15,089 ms |
コンパイル使用メモリ | 379,548 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-24 23:47:03 |
合計ジャッジ時間 | 15,970 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
use std::io::{self, BufRead}; fn main() { io::stdin().lock().lines().for_each(|l| { let input = l .unwrap() .split_whitespace() .map(|n| n.parse::<u64>().unwrap()) .collect::<Vec<_>>(); if let &[s, f] = &input[..] { println!("{}", s / f + 1); } }); }