| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137620 | 翁思宸 | 方程求解 | C++ | Accepted | 1 MS | 272 KB | 335 | 2025-11-21 18:02:08 |
//1488 方程求解 #include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ int m=0,n=0,x,y; cin>>m>>n; for(int x=1;x<=m;x++){ y=m-x; if(x*y==n){ cout<<"Yes"; return 0; } } cout<<"No"; return 0; }