Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
94189 倪士燊 方程求解 C++ Wrong Answer 1 MS 268 KB 223 2024-10-20 08:27:37

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int x,y,m,n; int main(){ cin >> m >>n; for(int x=0;x<=m;x++) { if(x*(m-x)==n) { cout<<"yes"; return 0; } } cout<<"NO"; return 0; }


Run Info:

------Input------
111 11
------Answer-----
No
------Your output-----
NO