結果
| 問題 | 
                            No.207 世界のなんとか
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-10-04 09:53:54 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 294 bytes | 
| コンパイル時間 | 907 ms | 
| コンパイル使用メモリ | 66,144 KB | 
| 最終ジャッジ日時 | 2025-01-15 02:29:31 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 9 WA * 10 | 
ソースコード
#include<iostream>
using namespace std;
int main(){
    int x,y,z;
    cin >> x >> y;
    for(int i = x; i<y; i++){
      z = 0;
      if(i%3==0||i%10==3)
        z = 1;
      for(int t = i;t;t/=10)
      if(t%10==3)
        z = 1;
      if(z==1)
        cout << i << endl;
}
    return 0;
}