Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138719 王丞杰 方程求解 C++ Accepted 0 MS 268 KB 211 2025-11-29 16:04:17

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int m,n; scanf("%d%d",&m,&n); for(int x=1;x<=m-1;x++){ if(x*(m-x)==n){ printf("Yes"); return 0; } } cout<<"No"; return 0; }