結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー qryxip
提出日時 2019-11-18 12:15:22
言語 Rust
(1.97.1 + proconio + num + itertools + ACL)
コンパイル:
/usr/bin/rustc_custom
実行:
./target/release/main
結果
AC  
実行時間 0 ms / 1,000 ms
+ 880µs
コード長 379 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 371 ms
コンパイル使用メモリ 183,268 KB
実行使用メモリ 9,760 KB
最終ジャッジ日時 2026-09-07 12:12:07
合計ジャッジ時間 1,477 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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);
}
0