Run ID:7928
提交时间:2025-05-30 23:50:01
#include<bits/stdc++.h> using namespace std; int main(){ int i,x,h; for(int s=100;s<=1000;s++){ i=s%10; x=(s-i)/10%10; h=(s-i-x*10)/100%10; if(i==x){ if(x==h){ cout<<s<<endl; } } } return 0; }