Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157382 刘老师 拆分分数 C++ Time Limit Exceeded 1000 MS 272 KB 244 2026-07-23 13:12:57

Tests(0/20):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int k; cin>>k; for(int x=k+1;k<=2*k;x++){ for(int y=2*k;y<=6*k;y++){ if(x*y==(y+x)*k) cout<<"1/"<<k<<" = "<<"1/"<<x<<" + "<<"1/"<<y<<endl; } } return 0; }