結果
問題 |
No.9001 標準入出力の練習問題(テスト用)
|
ユーザー |
![]() |
提出日時 | 2023-04-04 22:35:34 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 440 bytes |
コンパイル時間 | 16,640 ms |
コンパイル使用メモリ | 383,248 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-01 12:38:05 |
合計ジャッジ時間 | 17,608 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 |
ソースコード
fn main() { let mut input1: String = String::new(); std::io::stdin().read_line(&mut input1).ok(); let array: Vec<_> = input1.trim().split(' ').collect(); let a: i64 = array[0].parse().unwrap(); let b: i64 = array[1].parse().unwrap(); let n: i64 = a + b; let mut input2: String = String::new(); std::io::stdin().read_line(&mut input2).ok(); let s: &str = input2.trim(); println!("{} {}", n, s); }