結果

問題 No.1942 Leading zero
ユーザー atcoder8
提出日時 2022-09-08 15:34:10
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 15 ms / 2,000 ms
コード長 436 bytes
コンパイル時間 18,798 ms
コンパイル使用メモリ 401,988 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-24 09:30:12
合計ジャッジ時間 18,634 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

fn main() {
    let n = {
        let mut line = String::new();
        std::io::stdin().read_line(&mut line).unwrap();
        line.trim().parse::<usize>().unwrap()
    };
    let mut ss = vec![];
    for _ in 0..n {
        let mut line = String::new();
        std::io::stdin().read_line(&mut line).unwrap();
        ss.push(line.trim().parse::<usize>().unwrap());
    }

    for &s in ss.iter() {
        println!("{}", s);
    }
}
0