結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-05-19 13:28:57 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 260 bytes |
| 記録 | |
| コンパイル時間 | 282 ms |
| コンパイル使用メモリ | 70,880 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-09 03:09:21 |
| 合計ジャッジ時間 | 1,611 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 10 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(){
unsigned long a,b;
cin>>a>>b;
for (; a < b; ++a)
{
if (a%3 == 0)
{
cout<<a<<endl;
continue;
}
if (to_string(a).find("3") != string::npos)
{
cout<<a<<endl;
}
}
}