Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85196 叶城俊 消消乐 C++ Accepted 0 MS 268 KB 241 2024-07-16 16:56:14

Tests(1/1):


Code:

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