結果

問題 No.9000 Hello World! (テスト用)
ユーザー rhoorhoo
提出日時 2022-06-09 10:01:36
言語 Rust
(1.77.0)
結果
AC  
実行時間 1 ms / 5,000 ms
コード長 350 bytes
コンパイル時間 3,843 ms
コンパイル使用メモリ 157,892 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-21 04:24:12
合計ジャッジ時間 4,312 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,348 KB
testcase_01 AC 1 ms
4,348 KB
testcase_02 AC 0 ms
4,348 KB
testcase_03 AC 1 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

use std::io::Read;

fn main(){
    let mut input = "".to_owned();
    std::io::stdin().read_to_string(&mut input).unwrap();
    let mut input = input.split_ascii_whitespace();
    macro_rules! read(($ty:ty) => (input.next().unwrap().parse::<$ty>().unwrap()));
    
    let s=read!(String);
    eprintln!("{s}");
    
    println!("Hello World!");
}

0