結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
cra77756176
|
| 提出日時 | 2022-11-17 01:17:22 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 419 bytes |
| 記録 | |
| コンパイル時間 | 1,702 ms |
| コンパイル使用メモリ | 189,724 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-06 10:35:59 |
| 合計ジャッジ時間 | 2,504 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
use std::io::{self, BufRead};
fn main() {
io::stdin().lock().lines().for_each(|l| {
let input = l
.unwrap()
.split(' ')
.map(|n| n.parse::<usize>().unwrap())
.collect::<Vec<_>>();
if input[1] % input[0] == 0 {
println!("{}", input[1] / input[0]);
} else {
println!("{}", input[1] / input[0] + 1);
}
});
}
cra77756176