2019 蓝桥杯省赛 B 组模拟赛(五) 程序设计:红包

题目: 代码如下: #include<bits/stdc++.h> using namespace std; typedef long long LL; LL gcd(LL x,LL y) {return y == 0 ? x : gcd(y,x % y);} int main() { int n; cin >> n; LL p = 0,q = 1,g; for(int i = 1;i
相关文章
相关标签/搜索