結果
| 問題 | 
                            No.304 鍵(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             titia
                         | 
                    
| 提出日時 | 2022-11-07 03:10:44 | 
| 言語 | Rust  (1.83.0 + proconio)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 60 ms / 2,000 ms | 
| コード長 | 429 bytes | 
| コンパイル時間 | 11,851 ms | 
| コンパイル使用メモリ | 403,184 KB | 
| 実行使用メモリ | 25,220 KB | 
| 平均クエリ数 | 309.17 | 
| 最終ジャッジ日時 | 2024-07-17 03:13:11 | 
| 合計ジャッジ時間 | 12,928 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 6 | 
ソースコード
fn main() {
    for i in 0..1000{
        let mut x= i.to_string();
        while x.len()<3{
            x="0".to_string()+&x.to_string();
        }
        println!("{}",x);
        let s: Vec<char> = {
            let mut line: String = String::new();
            std::io::stdin().read_line(&mut line).unwrap();
            line.trim().chars().collect()
        };
        if s[0]=='u'{
            break;
        }
    }
}
            
            
            
        
            
titia