redoCxz
redoCxz
全部文章
分类
ACM练习赛(18)
ACM练习题(418)
BZOJ刷题(5)
C++算法模板(20)
codeforce(4)
hdu(8)
java(16)
Java算法模板(24)
kotlin(1)
Leetcode(12)
Lintcode(26)
剑指offer(1)
拓展欧几里德(1)
最小生成树(1)
未归档(70)
杂七杂八(41)
水题(1)
牛客网(2)
牛客网错题总结(1)
算法四(2)
题解(1)
归档
标签
去牛客网
登录
/
注册
redoCxz的博客
全部文章
(共388篇)
hdu1257——最小拦截系统
某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹. 怎么办呢?多搞几套系统呗!你...
2021-04-05
0
717
Codeforces1027A——Palindromic Twist
You are given a string s consisting of n lowercase Latin letters. n is even. For each position i (1≤i≤n) in string s you are required to change the l...
2021-04-05
0
501
Codeforces1027B——Numbers on the Chessboard
You are given a chessboard of size n×n. It is filled with numbers from 1 to n2 in the following way: the first ⌈n22⌉ numbers from 1 to ⌈n22⌉ are writt...
2021-04-05
0
354
Codeforces1027C——Minimum Value Rectangle
You have n sticks of the given lengths. Your task is to choose exactly four of them in such a way that they can form a rectangle. No sticks can be cu...
2021-04-05
0
376
Codeforces1027D——Mouse Hunt
Medicine faculty of Berland State University has just finished their admission campaign. As usual, about 80% of applicants are girls and majority of t...
2021-04-05
0
470
Codeforces998B——Cutting
There are a lot of things which could be cut — trees, paper, “the rope”. In this problem you are going to cut a sequence of integers. There is a sequ...
2021-04-05
0
531
Codeforces998C——Convert to Ones
You’ve got a string a1,a2,…,an, consisting of zeros and ones. Let’s call a sequence of consecutive elements ai,ai + 1,…, aj (1≤ i≤ j≤ n) a substring ...
2021-04-05
0
455
Codeforces998D——Roman Digits
Let’s introduce a number system which is based on a roman digits. There are digits I, V, X, L which correspond to the numbers 1, 5, 10 and 50 respecti...
2021-04-05
0
439
hdu1421——搬寝室
搬寝室是很累的,xhd深有体会.时间追述2006年7月9号,那天xhd迫于无奈要从27号楼搬到3号楼,因为10号要封楼了.看着寝室里的n件物品,xhd开始发呆,因为n是一个小于2000的整数,实在是太多了,于是xhd决定随便搬2*k件过去就行了.但还是会很累,因为2*k也不小是一个不大于n的整数.幸...
2021-04-05
0
627
hdu4704——Sum
emmmmm狗屁费马小定理 我们首先定义 An=S1+S2+...+Sn A n = S 1 + S 2 + . . . + S n ,所以 An+1=S1+S2+...+Sn+Sn+1 A n + 1 = S 1 + S 2 + . . . + S n + S n + 1 ,而 Sn+1...
2021-04-05
0
377
首页
上一页
10
11
12
13
14
15
16
17
18
19
下一页
末页