結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
adio_parts
|
| 提出日時 | 2017-06-02 00:24:03 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 389 bytes |
| コンパイル時間 | 460 ms |
| コンパイル使用メモリ | 59,480 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-21 21:44:06 |
| 合計ジャッジ時間 | 1,084 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 14 |
ソースコード
#include <iostream>
#include <vector>
using namespace std;
int main() {
int a,b;
vector<int> ans;
cin >> a >> b;
for(int i = a; i < b; i++){
if(i/10 == 3 || i%10 == 3 || i%3 == 0){
//cout << i << "\n";
ans.push_back(i);
}
}
for(int i = 0; i < ans.size(); i++){
cout << ans[i] << "\n";
}
return 0;
}
adio_parts