Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
82316 Kevin 消消乐 C++ Accepted 1 MS 268 KB 228 2024-07-13 10:40:40

Tests(1/1):


Code:

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