#include<bits/stdc++.h>

using namespace std;

int main(){

int g,w;

for (int i = 10000;i <= 99999;i++){
	
	g = i % 100 / 10;
	
	w = i % 10000 / 1000;
	
	if (g == w){
		
		cout << i << endl;
		
	}
}

return 0;

}

3 条评论

  • 1

信息

ID
116
时间
1000ms
内存
256MiB
难度
8
标签
递交数
56
已通过
9
上传者