Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85186 王珠潏 消消乐 C++ Accepted 0 MS 264 KB 254 2024-07-16 16:53:48

Tests(1/1):


Code:

#include<iostream> using namespace std; int main(){ int g,s,b; for(int a=100;a<=999;a++){ g=a%10; s=a/10%10; b=a/100; if(g==s && s==b){ cout<<a<<" "; } } return 0; }