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篇)
hdu1203——I NEED A OFFER!
Speakless很早就想出国,现在他已经考完了所有需要的考试,准备了所有要准备的材料,于是,便需要去申请学校了。要申请国外的任何大学,你都要交纳一定的申请费用,这可是很惊人的。Speakless没有多少钱,总共只攒了n万美元。他将在m个学校中选择若干的(当然要在他的经济承受范围内)。每个学校都有不...
2021-04-05
0
587
hdu1171——Big Event in HDU
Nowadays, we all know that Computer College is the biggest department in HDU. But, maybe you don’t know that Computer College had ever been split into...
2021-04-05
0
473
hdu1864——最大报销额
现有一笔经费可以报销一定额度的***。允许报销的***类型包括买图书(A类)、文具(B类)、差旅(C类),要求每张***的总额不得超过1000元,每张***上,单项物品的价值不得超过600元。现请你编写程序,在给出的一堆***中找出可以报销的、不超过给定额度的最大报销额。 Input 测试输入包...
2021-04-05
0
483
poj3624——Charm Bracelet
Bessie has gone to the mall’s jewelry store and spies a charm bracelet. Of course, she’d like to fill it with the best charms possible from the N (1 ≤...
2021-04-05
0
928
Codeforces977A——Wrong Subtraction
Little girl Tanya is learning how to decrease a number by one, but she does it wrong with a number consisting of two or more digits. Tanya subtracts o...
2021-04-05
0
574
Codeforces977B——Two-gram
Two-gram is an ordered pair (i.e. string of length two) of capital Latin letters. For example, “AZ”, “AA”, “ZA” — three distinct two-grams. You are g...
2021-04-05
0
544
Codeforces977C——Less or Equal
You are given a sequence of integers of length n and integer number k. You should print any integer number x in the range of [1;109] (i.e. 1≤x≤109) su...
2021-04-05
0
668
Codeforces977D——Divide by three, multiply by two
Polycarp likes to play with numbers. He takes some integer number x, writes it down on the board, and then performs with it n−1 operations of the two ...
2021-04-05
0
502
Codeforces977E——Cyclic Components
You are given an undirected graph consisting of n vertices and m edges. Your task is to find the number of connected components which are cycles. Her...
2021-04-05
0
425
Codeforces977F——Consecutive Subsequence
You are given an integer array of length n. You have to choose some subsequence of this array of maximum length such that this subsequence forms a in...
2021-04-05
0
480
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页