結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
streingmust
|
| 提出日時 | 2017-04-09 21:39:44 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 359 bytes |
| コンパイル時間 | 542 ms |
| コンパイル使用メモリ | 62,780 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-18 01:38:49 |
| 合計ジャッジ時間 | 1,005 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 14 |
ソースコード
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
int main(void){
int A, B;
std::string str;
std::cin >> A;
std::cin >> B;
for(int i=A; i<=B; i++){
if(i/3 == 0) std::cout << i << std::endl;
else{
str = std::to_string(i);
if(str.find('3')!=std::string::npos){
std::cout << i << std::endl;
}
}
}
return 0;
}
streingmust