Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115094 | 殷佳雨萱 | 方程求解 | C++ | Wrong Answer | 1 MS | 268 KB | 223 | 2025-03-29 11:21:26 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,a=0; cin>>m>>n; for(int i=0;i<=m;i++){ if(i*(m-i)==n){ a++; } } if(a>0){ cout<<"yes"; } else{ cout<<"no"; } return 0; }
------Input------
111 11
------Answer-----
No
------Your output-----
no