Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
141141 万麟峰 消消乐 C++ Accepted 1 MS 264 KB 208 2025-12-21 11:48:48

Tests(1/1):


Code:

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