Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
95018 罗迎甲 消消乐 C++ Accepted 1 MS 268 KB 198 2024-10-26 16:32:35

Tests(1/1):


Code:

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