結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
C
|
| 提出日時 | 2026-09-17 00:41:36 |
| 言語 | C++23(gcc16) (gcc 16.1.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 489 bytes |
| 記録 | |
| コンパイル時間 | 6,685 ms |
| コンパイル使用メモリ | 386,288 KB |
| 実行使用メモリ | 10,032 KB |
| 最終ジャッジ日時 | 2026-09-17 00:41:54 |
| 合計ジャッジ時間 | 6,103 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 WA * 13 |
ソースコード
#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using ll=long long;
using ld=long double;
using vll=vector<ll>;
using pll=pair<ll,ll>;
int main()
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
ll A,B;
cin>>A>>B;
for(int x=A;x<=B;++x){
ll i=x;
if(i%3==0){cout<<i<<endl;continue;}
bool good=false;
while(i>0){
if(i%10==3){good=true;break;}
i/=10;
}
if(good)cout<<i<<endl;
}
}
C