Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85194 秦浩然 消消乐 C++ Output Limit Exceeded 1 MS 260 KB 257 2024-07-16 16:54:48

Tests(0/1):


Code:

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