Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
107184 | 华雅萱 | 消消乐 | C++ | Accepted | 1 MS | 260 KB | 277 | 2025-01-17 14:30:49 |
#include<iostream> using namespace std; int main(){ int ge,shi,bai,i; for( i=100;i<1000;i++){ bai=i/100; shi=(i/10)%10; ge=i%10; if(bai==shi && bai==ge && shi==ge){ cout<<i<<endl; } } return 0; }