Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
38226 杨中琦 奇怪的车牌号 C++ 通过 100 0 MS 244 KB 263 2022-04-25 16:12:44

Tests(1/1):


#include <bits/stdc++.h> using namespace std; int main() { int a[5],b[5],sum=0; double y; for(int i=0;i<=6;i++) { for(int j=0;j<=6;j++) { y=sqrt(4*i+4*j+12); if(fabs(y-(int)y)==0) sum++; } } cout<<sum; return 0; }


测评信息:

输入

                    

输出

                    

答案

                    

系统信息

exit code: 0, checker exit code: 0