| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 63858 | 冯纪尧 | 方程求解 | C++ | Wrong Answer | 43 MS | 268 KB | 266 | 2024-01-20 10:33:28 |
#include<bits/stdc++.h> using namespace std; int main(){ int m,n; int x,y; cin>>m>>n; for(int i=0;i<m+n;i++){ x++; for(int j=0;j<m+n;j++){ y++; if(x+y==m&&x*y==n){ cout<<"Yes"; return 0; } } } cout<<"No"; return 0; }
------Input------
188 8800
------Answer-----
Yes
------Your output-----
No