Run ID:82316
提交时间:2024-07-13 10:40:40
#include<bits/stdc++.h> using namespace std; int main(){ int bai,shi,ge; for(int i=100;i<=999;i++) { bai=i/100; shi=i/10%10; ge=i%10; if(bai==shi&&shi==ge){ cout<<i<<endl; } } return 0; }