結果
問題 |
No.9001 標準入出力の練習問題(テスト用)
|
ユーザー |
![]() |
提出日時 | 2024-09-04 08:40:33 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 458 bytes |
コンパイル時間 | 12,242 ms |
コンパイル使用メモリ | 405,484 KB |
実行使用メモリ | 6,816 KB |
最終ジャッジ日時 | 2024-09-04 08:40:47 |
合計ジャッジ時間 | 13,243 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 |
ソースコード
use std::io; use std::io::prelude::*; fn main() { let stdin = io::read_to_string(io::stdin()).unwrap(); let mut stdin = stdin.split_whitespace(); let stdout = io::stdout(); let mut stdout = io::BufWriter::new(stdout.lock()); let a = stdin.next().unwrap().parse::<usize>().unwrap(); let b = stdin.next().unwrap().parse::<usize>().unwrap(); let s = stdin.next().unwrap(); writeln!(stdout, "{} {}", a + b, s).unwrap_or(()); }