結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
yumaru
|
| 提出日時 | 2019-05-29 18:42:24 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 275 bytes |
| コンパイル時間 | 396 ms |
| コンパイル使用メモリ | 55,268 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-17 15:59:23 |
| 合計ジャッジ時間 | 1,129 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 17 |
ソースコード
#include <iostream>
using namespace std;
int main(void) {
int A, B, i, t;
cin >> A >> B;
for (i = A; i <= B; i++) {
if (i % 3 == 0) cout << i << endl;
else {
for (t = i; t >= 3; t /= 10) {
if (t % 10 == 3) cout << i << endl;
}
}
break;
}
return 0;
}
yumaru