| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 136244 | 彭士宝 | 方程求解 | C++ | Accepted | 1 MS | 272 KB | 445 | 2025-11-09 22:34:12 |
#include <iostream> using namespace std; int main() { int m, n; while (cin >> m >> n) { bool found = false; for (int y = 1; y < m; ++y) { int x = m - y; if (x * y == n) { cout << "Yes" << endl; found = true; break; } } if (!found) { cout << "No" << endl; } } return 0; }