Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
72205 任斌 消消乐 C++ Accepted 1 MS 260 KB 212 2024-05-04 10:07:28

Tests(1/1):


Code:

#include<iostream> using namespace std; int main() { int ge,shi,bai; for(int i=100;i<=999;i++){ ge=i%10; shi=i/10%10; bai=i/100%10; if(ge==shi&&shi==bai) cout<<i<<endl; } return 0; }