結果
| 問題 | 
                            No.207 世界のなんとか
                             | 
                    
| コンテスト | |
| ユーザー | 
                             ryogom
                         | 
                    
| 提出日時 | 2019-04-11 16:32:38 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 369 bytes | 
| コンパイル時間 | 437 ms | 
| コンパイル使用メモリ | 55,632 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-07-18 16:50:17 | 
| 合計ジャッジ時間 | 1,037 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 4 WA * 15 | 
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main() {
int n,a,b;
int i;
int p,q,r;
cin >>a>>b;
 for(n=a;n<=b;n++){
    r=n%3;
     if(r==0){
         cout<<n<<endl;
         continue;
     }
    for(i=n;i<0;i=i/10){ 
     if(i%10==3){
         cout<<n<<endl;
         break;
     }
     if(i<10){
         break;
     }
     
 }
 }
 
return 0;    
}
            
            
            
        
            
ryogom