結果
| 問題 | No.9001 標準入出力の練習問題(テスト用) |
| ユーザー |
|
| 提出日時 | 2019-11-18 12:15:22 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 379 bytes |
| コンパイル時間 | 10,488 ms |
| コンパイル使用メモリ | 403,572 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-10-01 11:34:45 |
| 合計ジャッジ時間 | 11,133 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 |
ソースコード
use std::io::{stdin, Read};
fn main() {
let mut input = "".to_owned();
stdin().read_to_string(&mut input).unwrap();
let mut input = input.split_whitespace();
macro_rules! cin {
() => {
input.next().unwrap().parse().unwrap()
};
}
let (a, b, s): (u32, u32, String) = (cin!(), cin!(), cin!());
println!("{} {}", a + b, s);
}