- 博客(5)
- 收藏
- 关注
原创 Codeforces Round #420 (Div. 2)
A 写的比较傻 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define LL long lo
2017-06-29 15:44:35 103
原创 Codeforces Round #419 (Div. 2)
A 模拟一下即可、 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define LL long
2017-06-23 15:08:06 209
原创 第四届“图灵杯”NEUQ-ACM程序设计竞赛部分题解
A 队友做的、 #include #include #include using namespace std; typedef long long LL; LL gcd(LL x,LL y) { return y==0?x:gcd(y,x%y); } double Jie(int n) { LL r1=(LL)(n+1),r2=(LL)(3*n+1); LL m1=(L
2017-06-11 18:34:06 498
原创 Codeforces Round #418 (Div. 2)
A 用b数组中的数去代替a数组中0的数,保证数组a和数组b之间以及内部之间数都是不相同的,问你是否可以使得序列不递增 很显然k>=2的话就一定能不递增,k为1的情况特别判断就好 #include using namespace std; #define LL long long #define pb push_back #define pill pair #define mst(a, b
2017-06-09 00:31:23 219
原创 2017年第0届浙江工业大学之江学院程序设计竞赛决赛部分题解
A 二分 + 容斥 #include using namespace std; #define LL long long #define pb push_back #define pill pair #define mst(a, b) memset(a, b, sizeof a) #define REP(i, x, n) for(int i = x; i <= n; ++i) const
2017-06-02 13:21:03 680
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人