| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68237 | 谢绍澜 | 方程求解 | C++ | Wrong Answer | 157 MS | 276 KB | 433 | 2024-03-21 18:14:19 |
# include<iostream> using namespace std; int main(){ int m,n,a=1; cin>>m>>n; for(int i=1;i<10000;i++){ for(int j=1;j<10000;j++){ if(j+i==m) a++; } } for(int i=1;i<10000;i++){ for(int j=1;j<10000;j++){ if(j*i==m) a++; } } if(a==3) cout<<"Yes"; else cout<<"No"; return 0; }
------Input------
188 8800
------Answer-----
Yes
------Your output-----
No