| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 41831 | 老方 | 大等于n的最小完全平方数 | C++ | Accepted | 0 MS | 244 KB | 215 | 2024-02-23 13:21:57 |
#include<bits/stdc++.h> using namespace std; int main(){ long long n; cin>>n; for(int i=n;i<n*2;i++){ double tmp=sqrt(double(i)); if(tmp-int(tmp)==0){ cout<<i; return 0; } } return 0; }