Run ID:107167

提交时间:2025-01-17 14:19:35

#include<bits/stdc++.h> using namespace std; int main(){ int g=0,s=0,b=0; for(int i=100;i<=999;i++){ g=i%10; s=i/10%10; b=i/100; if(g==b&&b==s&&g==s){ cout<<i<<endl; } } return 0; }