Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
7928 邓小龙 消消乐 C++ Wrong Answer 0 MS 248 KB 299 2025-05-30 23:50:01

Tests(0/1):


Code:

#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; }


Run Info:

------Input------
0
------Answer-----
111 222 333 444 555 666 777 888 999
------Your output-----
111 222 333 444 555 666 777 888 999 1000