結果
| 問題 | 
                            No.207 世界のなんとか
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2019-05-15 21:35:00 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 380 bytes | 
| コンパイル時間 | 494 ms | 
| コンパイル使用メモリ | 69,316 KB | 
| 最終ジャッジ日時 | 2025-01-07 03:41:56 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 9 WA * 10 | 
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(){
int a, b;
cin >>a >>b;
for (int i = a; i < b; i++)
{
    if(i%3==0) cout <<i <<endl;
    else {
        string a=to_string(i);
        for (int j = 0; j < a.size(); j++){
            if (a[j]=='3'){
                cout <<i <<endl;
                break;
                }
            }   
        }
    }
}