結果

問題 No.207 世界のなんとか
ユーザー reo85
提出日時 2021-03-09 01:19:46
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 358 bytes
コンパイル時間 1,801 ms
コンパイル使用メモリ 167,260 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-10 15:24:45
合計ジャッジ時間 2,647 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
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;
            continue;
        }
        for(int j=i;j>0;j/=10){
            if(j%10==3){
                cout << i << endl;
                break;
            }
        }
    }
    return 0;
}
0