Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85179 卢语涵 消消乐 C++ Accepted 0 MS 260 KB 223 2024-07-16 16:51:56

Tests(1/1):


Code:

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