Files
python/C++专题课程/基础知识/原始版本4位回文数_陈宏嘉版本.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

15 lines
212 B
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include<bits/stdc++.h>
using namespace std;
int main() {
int i,j;
for(i=1; i<10; i++) { //9´ÎÑ­»·
for(j=0; j<10; j++) { //10´ÎÑ­»·
printf("%d\n",i*1000+j*100+j*10+i);
}
}
return 0;
}