結果
問題 | No.9001 標準入出力の練習問題(テスト用) |
ユーザー | ciel |
提出日時 | 2019-02-17 12:48:59 |
言語 | Rust (1.77.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 308 bytes |
コンパイル時間 | 7,436 ms |
コンパイル使用メモリ | 155,928 KB |
実行使用メモリ | 4,372 KB |
最終ジャッジ日時 | 2023-10-25 22:12:58 |
合計ジャッジ時間 | 1,533 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
ソースコード
fn getline() -> String{ let mut __ret=String::new(); std::io::stdin().read_line(&mut __ret).ok(); return __ret; } fn main(){ let s=getline(); let a:Vec<_>=s.trim().split(' ').collect(); let x:i32=a[0].parse().unwrap(); let y:i32=a[1].parse().unwrap(); print!("{} ",x+y); println!("{}",getline()); }