| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137199 | 蔡胤泽 | 拆分分数 | C++ | Output Limit Exceeded | 8 MS | 268 KB | 284 | 2025-11-16 16:05:13 |
#include <bits/stdc++.h> using namespace std; int main() { float k; cin >> k; for(int x = 1;x<= 10000;x++) { long long y = k * x / (x - k); if(x * y == k * y + k * x && x <= y) { cout <<"1/"<<k<<" = 1/"<<x<<" + 1/"<<y<<endl; } } return 0; }