Run ID:70004
提交时间:2024-04-13 11:15:04
#include <bits/stdc++.h> using namespace std; int main (){ int i=100,q,w,e; for(int i=100;i<=999;i++){ q=i%10; w=i/10%10; e=i/10/10%10; if(q==w&&q==e&&w==e){ cout<<i<<endl; } } return 0; }