| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158830 | 林睿 | 【基础题】四位完全平方数(例题) | C++ | Running & Judging | 0 MS | 0 KB | 325 | 2026-08-22 17:49:15 |
#include<bits/stdc++.h> using namespace std; int main() { int d, num; for(int i = 1; i <= 9; ++i) for(int j = 0; j <= 9; ++j) { num = i*1000+i*100+j*10+j; d = sqrt(num); if(num == d*d) cout << num << endl; } return 0; }