???666提交不了
原题链接:10549.System of Equations2026-01-24 20:31:35
发布于:江苏
代码是对的(至少测试样例是对的)
但是为什么提交不了啊!!!!!!!!!!!!!!!!!!!!!!!


#include <bits/stdc++.h>
int main() {
int n,m,g=0;
std::cin>>n>>m;
for(int a=0;a<=n;a++)
for(int b=0;b<=n;b++)
if(a*a+b==n&&a+b*b==m)g++;
std::cout<<g;
}
全部评论 2
自删吧,CF爆了
4天前 来自 浙江
1???
4天前 来自 江苏
1CF测评机炸了
4天前 来自 浙江
0
为啥提交不了!!!



4天前 来自 江苏
0























有帮助,赞一个