結果
問題 |
No.1305 Speak of the Devil
|
ユーザー |
![]() |
提出日時 | 2022-12-28 23:11:53 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 299 bytes |
コンパイル時間 | 12,512 ms |
コンパイル使用メモリ | 378,252 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-24 01:29:43 |
合計ジャッジ時間 | 14,016 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
ソースコード
fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); let mut itr = s.trim().split_whitespace(); let p:u32 = itr.next().unwrap().parse().unwrap(); let q:u32 = itr.next().unwrap().parse().unwrap(); if p <= q { println!("{}", p); } else { println!("{}", q); } }