結果
問題 |
No.388 階段 (1)
|
ユーザー |
![]() |
提出日時 | 2018-10-24 17:23:58 |
言語 | Rust (1.83.0 + proconio) |
結果 |
WA
|
実行時間 | - |
コード長 | 309 bytes |
コンパイル時間 | 15,109 ms |
コンパイル使用メモリ | 383,076 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-19 05:31:00 |
合計ジャッジ時間 | 13,603 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 2 WA * 10 |
ソースコード
fn main() { let mut input = String::new(); std::io::stdin().read_line(&mut input).unwrap(); let mut input = input.trim().split_whitespace(); let s: u32 = input.next().unwrap().parse().unwrap(); let f: u32 = input.next().unwrap().parse().unwrap(); println!("{}", s % f + 1); }