摘要: #include<bits/stdc++.h> using namespace std; int main(){ int n; int p1,p2; string a,b; scanf("%d",&n); for(int i=1;i<=n;i++){ cin>>a>>p1; cin>>b>>p2; 阅读全文
posted @ 2022-01-11 17:47 happycrazy 阅读(67) 评论(0) 推荐(0)
摘要: 题目: Given a positive integer nn. Find three distinct positive integers aa, bb, cc such that a+b+c=na+b+c=n and gcd(a,b)=cgcd⁡(a,b)=c, where gcd(x,y)gc 阅读全文
posted @ 2022-01-11 01:43 happycrazy 阅读(71) 评论(0) 推荐(0)