結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
taro.50904昇太郎
|
| 提出日時 | 2020-04-22 15:52:08 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 335 bytes |
| コンパイル時間 | 730 ms |
| コンパイル使用メモリ | 67,020 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-11 18:38:46 |
| 合計ジャッジ時間 | 1,495 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 10 |
ソースコード
#include <iostream>
#include <vector>
#define rep(i,n) for(int i = 0; i < (n); i++)
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;
else{
a = i;
while (a) {
if (a % 10 == 3)
cout << i << endl;
a = a / 10;
}
}
}
return 0;
}
taro.50904昇太郎