結果
問題 | No.8058 M + D Problem |
ユーザー |
![]() |
提出日時 | 2020-04-01 21:24:25 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 375 bytes |
コンパイル時間 | 12,123 ms |
コンパイル使用メモリ | 378,956 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-27 07:58:32 |
合計ジャッジ時間 | 13,555 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 |
ソースコード
fn run() {let mut s = String::new();std::io::stdin().read_line(&mut s).unwrap();let mut it = s.trim().split_whitespace();let a: usize = it.next().unwrap().parse().unwrap();let b: usize = it.next().unwrap().parse().unwrap();if a == 4 && b == 1 {println!("0");} else {println!("{}", a + b);}}fn main() {run();}