Run ID:107184
提交时间:2025-01-17 14:30:49
#include<iostream> using namespace std; int main(){ int ge,shi,bai,i; for( i=100;i<1000;i++){ bai=i/100; shi=(i/10)%10; ge=i%10; if(bai==shi && bai==ge && shi==ge){ cout<<i<<endl; } } return 0; }