Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
19777 梅煦洋 奇怪的车牌号 C++ Accepted 100 0 MS 248 KB 254 2021-05-22 16:54:26

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int num=0; for(int i=0;i<=6;i++){ for(int j=0;j<=6;j++){ for(int k=4;k<=7;k++){ if(i*4+j*4+12==k*k){ num++; } } } } cout<<num<<endl; return 0; }


Judgement Protocol: