結果
| 問題 |
No.9001 標準入出力の練習問題(テスト用)
|
| ユーザー |
|
| 提出日時 | 2020-07-26 12:24:15 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 406 bytes |
| コンパイル時間 | 15,035 ms |
| コンパイル使用メモリ | 391,256 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-06-28 12:11:41 |
| 合計ジャッジ時間 | 15,786 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 |
ソースコード
use std::io::stdin;
fn read_line() -> String {
let mut line = String::new();
stdin().read_line(&mut line).ok();
line
}
fn main() {
let line = read_line();
let first_vec: Vec<&str> = line.split_whitespace().collect();
let a: usize = first_vec[0].parse().unwrap();
let b: usize = first_vec[1].parse().unwrap();
let s: String = read_line();
println!("{} {}", a + b, s);
}