You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python/C++专题课程/基础知识/原始版本4位回文数_陈宏嘉版本.cpp

15 lines
198 B

2 years ago
#include<bits/stdc++.h>
using namespace std;
int main() {
int i,j;
for(i=1; i<10; i++) { //9<><39>ѭ<EFBFBD><D1AD>
for(j=0; j<10; j++) { //10<31><30>ѭ<EFBFBD><D1AD>
printf("%d\n",i*1000+j*100+j*10+i);
}
}
return 0;
}