| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 132952 | 林睿 | 方程求解 | C++ | Wrong Answer | 1 MS | 264 KB | 263 | 2025-10-12 17:49:17 |
#include<bits/stdc++.h> using namespace std; int main(){ int m,n; cin>>m; cin>>n; for(int i = 1; i < m; i++) { if(i*(m-i)==n){ cout<<"yes,"<<i*(m-i)<<endl; break; } else{ if(i==(m-1)){ cout<<"no"<<endl; } } } }
------Input------
111 11
------Answer-----
No
------Your output-----
no