小、pi孩
小、pi孩
全部文章
Codeforce
python学习(29)
动态规划(1)
快速幂 逆元(2)
数据结构(19)
最短路(1)
算法(26)
蓝桥杯(1)
计算机网络(2)
题解(2)
归档
标签
去牛客网
登录
/
注册
小、pi孩的博客
全部文章
/ Codeforce
(共14篇)
Codeforces Round #666 (Div. 2) ------ Multiples of Length
题目 You are given an array a of n integers. You want to make all elements of a equal to zero by doing the following operation exactly three times: S...
2020-10-07
0
385
Codeforces Round #666 (Div. 2) ------ Stoned Game
题目 T is playing a game with his friend, HL. There are n piles of stones, the i-th pile initially has ai stones. T and HL will take alternating turns,...
2020-10-07
0
386
Codeforces Round #669 (Div. 2) ------ Ahahahahahahahaha
题目 题意 给你一个长度为n的数组,数组元素由0或1构成,你可以进行随意的删除操作,一次只能删除一个元素,最多操作次数不能超过n / 2次。操作后的结果就是:奇数位数字之和等于偶数位数字之和。最后输出剩余的数组元素 题解 由于题目没有规定说删除次数最少,所以直接找出特殊情况。 如果题目里...
2020-10-07
0
424
Codeforces Round #669 (Div. 2) ------ Big Vova
题目 题意 给定你一个数组a,你可以对数组a进行重新排序,然后得到新的数组b,对数组b进行gcd,得到数组c ,c[i] = gcd(b[1], b[2],b[i]),使得c数组是的字典序最大。求这样的数组b 题解 看数据范围之后,可以直接暴力。 b数组第一个数为a数组中最大的数,后面的...
2020-10-07
0
427
首页
上一页
1
2
下一页
末页