結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-05-31 14:17:36 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 268 bytes |
| コンパイル時間 | 320 ms |
| コンパイル使用メモリ | 53,980 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-06 12:55:56 |
| 合計ジャッジ時間 | 882 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 WA * 11 |
ソースコード
#include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
for(int i=A; i<=B; i++) {
if( (i % 3 == 0) || // 3で割り切れる
(i % 10 == 3) || // 1の位が3
(i / 10 == 3)) { // 10の位が3
cout << i << endl;
}
}
return 0;
}