Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
147289 | I am BM | 判断平方数 | C++ | Wrong Answer | 0 | 1 MS | 248 KB | 160 | 2024-05-18 14:31:04 |
#include <bits/stdc++.h> using namespace std; int a; int main() { while (cin>>a) { if (sqrt(a)==a) cout<<1; else cout<<0; } return 0; }