Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
125754 | 田子熙 | 方程求解 | C++ | Presentation Error | 1 MS | 276 KB | 223 | 2025-07-15 14:48:25 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,a=0,b=0; cin>>m>>n; for(int i=1;i<=m;i++){ a++; b++; if(i*(m-i)==n){ cout<<"Yes"; return 0; } } cout<<" No"; return 0; }