結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
ryogom
|
| 提出日時 | 2019-04-11 15:59:39 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 272 bytes |
| コンパイル時間 | 610 ms |
| コンパイル使用メモリ | 54,104 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-18 15:07:38 |
| 合計ジャッジ時間 | 1,161 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 18 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main() {
int n,a,b;
int p,q,r;
cin >>a>>b;
for(n=a;n==b+1;n++){
p=n/10;
q=n%10;
r=n%3;
if((p==3)||(q==3)||(r==0)){
cout<<n<<endl;
continue;
}
}
return 0;
}
ryogom