結果
問題 |
No.207 世界のなんとか
|
ユーザー |
|
提出日時 | 2018-07-07 09:56:14 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 278 bytes |
コンパイル時間 | 419 ms |
コンパイル使用メモリ | 54,972 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-01 02:58:47 |
合計ジャッジ時間 | 1,061 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 8 WA * 11 |
ソースコード
#include <iostream> using namespace std; int main(void) { int a,b,mul[100]; cin>>a>>b; for(int i=a; i<=b; i++) { if(i%3==0) { cout<<i<<endl; } else if((i-3)%10 ==0) { cout<<i<<endl; } else if(i/10==3) { cout<<i<<endl;30; } } return 0; }