| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 2294 | zzzzz | 奇怪的车牌号 | C++ | Accepted | 100 | 0 MS | 244 KB | 356 | 2019-11-17 08:48:51 |
#include<bits/stdc++.h> using namespace std; bool x(int a){ float m=sqrt(a); if(ceil(m)==m){ if(floor(m)==m){ return 1; }else{ return 0; } }else{ return 0; } } int main(){ int o=0; for(int i=0;i<=6;i++){ int q=i*4+6; for(int j=0;j<=6;j++){ int w=j*4+6; if(x(q+w)==1) o++; } } cout<<o; return 0; }