結果
問題 |
No.207 世界のなんとか
|
ユーザー |
![]() |
提出日時 | 2017-11-13 23:17:30 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 359 bytes |
コンパイル時間 | 553 ms |
コンパイル使用メモリ | 71,060 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-25 00:34:19 |
合計ジャッジ時間 | 1,321 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 8 WA * 11 |
ソースコード
#include<iostream> #include<iomanip> #include<cmath> #include<string> #include<algorithm> #include<vector> #include<math.h> using namespace std; int main(){ long A, B; cin >> A >> B; for(int i = A; i <= B; i++){ if(i % 3 == 0 || i % 10 == 3 || i / 10 == 3){ cout << i << endl; } } return 0; }