Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
141592 李昱龙 消消乐 C++ Accepted 1 MS 264 KB 251 2025-12-27 14:34:40

Tests(1/1):


Code:

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