Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
63865 张誉腾 方程求解 C++ Compile Error 0 MS 0 KB 268 2024-01-20 10:44:51

Tests(0/0):


Code:

#include <bits/stdc++.h> using namespace std; int main() { int m,n; cin>>m>>n; int flag=0; for(int x=0;x<=m;x++){ for(int y=0;y<=m;y++){ if(x+y==m&&x*y==n){ flag=1; } } } if(flag==1){ cout<<"Yes"; }else{ cour<<"No"; } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:19:3: error: 'cour' was not declared in this scope
   cour<<"No";
   ^