| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 147400 | 林麒瑞 | 判断平方数 | C++ | Runtime Error | 0 | 2 MS | 244 KB | 305 | 2024-05-18 15:02:20 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[100]; double s; for(int i=1;i<=100;i++){ cin>>a[i]; s=sqrt(a[i]); for(int j=1;j<=1000;j++){ if(s==j){ cout<<"1"<<" "; break; } if(j==1000){ cout<<"0"<<" "; break; } } } return 0; }