結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
29da164
|
| 提出日時 | 2020-07-22 09:46:09 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 356 bytes |
| コンパイル時間 | 627 ms |
| コンパイル使用メモリ | 61,824 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2025-01-03 03:07:33 |
| 合計ジャッジ時間 | 1,509 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 |
ソースコード
#include <iostream>
int main(void){
long a, b;
long x[2000000000];
std::cin >> a >> b;
for(int i=a;i<b+1;i++){
x[i]=i;
if(x[i]%3==0){
std::cout << x[i] << std::endl;
}
else{
std::string str= std::to_string(x[i]);
if(str.find("3") != std::string::npos){
std::cout << x[i] << std::endl;
}
}
}
}
29da164