Run ID:157382
提交时间:2026-07-23 13:12:57
#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; }