結果

問題 No.304 鍵(1)
ユーザー phsplsphspls
提出日時 2020-02-22 19:38:14
言語 Rust
(1.77.0)
結果
AC  
実行時間 62 ms / 2,000 ms
コード長 291 bytes
コンパイル時間 7,465 ms
コンパイル使用メモリ 135,592 KB
実行使用メモリ 24,528 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 02:30:51
合計ジャッジ時間 3,643 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
23,844 KB
testcase_01 AC 29 ms
24,384 KB
testcase_02 AC 62 ms
23,568 KB
testcase_03 AC 28 ms
23,640 KB
testcase_04 AC 44 ms
23,424 KB
testcase_05 AC 28 ms
24,528 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fn main() {
    for i in 0..1000 {
        println!("{:03}", i);
        let mut s = String::new();
        std::io::stdin().read_line(&mut s).ok();
        let s: &str = s.trim();
        match s {
            "unlocked" => { std::process::exit(0); },
            _ => {},
        }
    }
}
0