Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
149890 赖泓宇 消消乐 C++ Wrong Answer 1 MS 260 KB 436 2026-03-20 19:00:54

Tests(0/1):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ long long g,b,s,y; for(int i=100;i<=999;i++){ g=i%10; s=i/10%10; b=i/100; if (g==s==b){ cout<<i<<endl; } } }


Run Info:

------Input------
0
------Answer-----
111 222 333 444 555 666 777 888 999
------Your output-----
100 111 122 133 144 155 166 177 188 199