| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 147466 | 刘子隽bylz | 判断平方数 | C++ | Wrong Answer | 0 | 2 MS | 236 KB | 236 | 2024-05-18 15:27:47 |
#include<bits/stdc++.h> using namespace std; int square(int n){ int x; x=int(sqrt(x))*int(sqrt(x)); if(x==n) return 1; else return 0; } int main(){ int x; while(cin>>x){ cout<<square(x)<<endl; } return 0; }