Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132926 张唯一 方程求解 C++ Wrong Answer 1 MS 268 KB 247 2025-10-12 16:52:09

Tests(0/10):


Code:

#include<iostream> using namespace std; int main() { int n, m, j; cin>>n; cin>>m; for(int i=1;i<n;i++) { j=n-i; if(j*i==m) { cout<<"Yes."; break; } else if(i==n-1) { cout<<"No."; } } return 0; }


Run Info:

------Input------
111 11
------Answer-----
No
------Your output-----
No.