Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
147468 A班卞定熙 判断平方数 C++ Accepted 100 2 MS 248 KB 222 2024-05-18 15:28:04

Tests(4/4):


#include<bits/stdc++.h> using namespace std; void square(int x){ int ji; ji=int(sqrt(x))*int(sqrt(x)); if(ji==x) cout<<1<<endl; else cout<<0<<endl; } int main(){ int x; while(cin>>x) square(x); return 0; }


Judgement Protocol: