Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
94190 倪士燊 方程求解 C++ Accepted 2 MS 276 KB 223 2024-10-20 08:28:18

Tests(10/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; }