結果
| 問題 | 
                            No.207 世界のなんとか
                             | 
                    
| コンテスト | |
| ユーザー | 
                             GN_ka02
                         | 
                    
| 提出日時 | 2015-05-15 22:22:04 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 264 bytes | 
| コンパイル時間 | 1,043 ms | 
| コンパイル使用メモリ | 159,188 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-06 03:59:56 | 
| 合計ジャッジ時間 | 1,627 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 4 WA * 15 | 
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:11:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   11 |         scanf("%d%d",&a,&b);
      |         ~~~~~^~~~~~~~~~~~~~
            
            ソースコード
#include<bits/stdc++.h>
#include<cstdio>
using namespace std;
 
#define REP(a,b,c) for(a=b;a<c;a++)
#define rep(x,y,z) for(x=y:x=z;x--)
#define PI 3.14159265359
 
int main(){
	int a,b;
	scanf("%d%d",&a,&b);
	for(int i=a;i<=b;i++){
		if(i%3==0) cout<<i<<endl;;
	}
}
            
            
            
        
            
GN_ka02