結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
gedy01221406
|
| 提出日時 | 2019-10-09 21:54:02 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 376 bytes |
| コンパイル時間 | 828 ms |
| コンパイル使用メモリ | 68,428 KB |
| 最終ジャッジ日時 | 2025-01-07 21:22:55 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 18 |
ソースコード
#include <iostream>
//#include <numeric>
//#include <vector>
#include <cstdint>
#include <string>
using namespace std;
int main() {
int64_t a, b;
cin >> a >> b;
for (int64_t i = a; i < b; i++) {
if (i % 3 == 0) {
cout << i << endl;
}
else {
std::string str;
str = std::to_string(i);
if (str.find("3")) {
cout << i << endl;
}
}
}
return 0;
}
gedy01221406