結果
問題 |
No.207 世界のなんとか
|
ユーザー |
![]() |
提出日時 | 2018-11-24 19:08:44 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 327 bytes |
コンパイル時間 | 566 ms |
コンパイル使用メモリ | 68,112 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-24 19:22:19 |
合計ジャッジ時間 | 1,229 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 WA * 16 |
ソースコード
#include <iostream> #include <cstdio> #include <vector> #include <algorithm> using namespace std; #define rep(i,n) for(int i=0;i<(n);i++) int main(void){ int a, b, j; cin >> a >> b; for(int i = a; i < b; i++){ j = i + 1; if (j % 3 == 0 || j % 10 == 3){ cout << j << endl; } } }