Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115096 | 王煜鑫 | 方程求解 | C++ | Wrong Answer | 0 MS | 272 KB | 247 | 2025-03-29 11:24:14 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m; bool flag=0; cin>>n>>m; for(int x=0;x<=m;x++){ if(x*(m-x)==n){ flag=1; break; } } if(flag){ cout<<"Yes"; } else{ cout<<"No"; } return 0; }
------Input------
188 8800
------Answer-----
Yes
------Your output-----
No