結果
| 問題 | 
                            No.207 世界のなんとか
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2019-04-23 16:43:55 | 
| 言語 | Rust  (1.83.0 + proconio)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 1 ms / 5,000 ms | 
| コード長 | 410 bytes | 
| コンパイル時間 | 12,618 ms | 
| コンパイル使用メモリ | 378,592 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-10-14 17:16:57 | 
| 合計ジャッジ時間 | 12,190 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 19 | 
ソースコード
fn main() {
    let mut line = String::new();
    let _ = std::io::stdin().read_line(&mut line);
    let numbers: Vec<i32> = line.trim().split_whitespace().map(|n| n.parse().unwrap()).collect();
    for i in numbers[0]..=numbers[1] {
        if i % 3 == 0 {
            println!("{}", i);
        } else if i.to_string().chars().find(|&n| n == '3').is_some() {
            println!("{}", i);
        }
    }
}