結果
問題 |
No.207 世界のなんとか
|
ユーザー |
|
提出日時 | 2022-10-22 20:19:44 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 266 bytes |
コンパイル時間 | 2,146 ms |
コンパイル使用メモリ | 193,556 KB |
最終ジャッジ日時 | 2025-02-08 11:30:23 |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 8 WA * 11 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ios::sync_with_stdio(false); cin.tie(0); int a,b; cin >> a >> b; for (int i = a; i <= b; i++) { if (i % 3 == 0 or i % 10 == 3 or i / 10 == 3) cout << i << endl; } return 0; }