| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 19945 | 账号已注销 | 奇怪的车牌号 | C++ | Accepted | 100 | 0 MS | 244 KB | 311 | 2021-05-26 20:38:53 |
#include<bits/stdc++.h> using namespace std; int main(){ int ans=0,a[8]={0,6,10,14,18,22,26,30},b[8]={0,6,10,14,18,22,26,30}; for(int i=1;i<=7;i++){ for(int j=1;j<=7;j++){ if(sqrt(a[i]+b[j])==4||sqrt(a[i]+b[j])==5||sqrt(a[i]+b[j])==6||sqrt(a[i]+b[j])==7) ans++; } } cout<<ans; return 0; }