結果
| 問題 | 
                            No.207 世界のなんとか
                             | 
                    
| コンテスト | |
| ユーザー | 
                             focus
                         | 
                    
| 提出日時 | 2018-01-22 18:42:15 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 451 bytes | 
| コンパイル時間 | 687 ms | 
| コンパイル使用メモリ | 59,516 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-12-26 00:54:57 | 
| 合計ジャッジ時間 | 1,469 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 6 WA * 13 | 
ソースコード
#include<iostream>
#include<vector>
#include<algorithm>
#include<cstdio>
using namespace std;
int main(){
    long long a,b,sum=0;
    cin >> a >> b;
    for(long long i=a;i<=b;i++){
        for(int j=10;j<=1000000000;j*=10){
            if(i%j==3){
                cout << i << endl;
                break;
            }
            if(i%3==0){
                cout << i << endl;
                break;
            }
        }
    }
    return 0;
}
            
            
            
        
            
focus