redoCxz
redoCxz
全部文章
ACM练习题
ACM练习赛(18)
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的博客
全部文章
/ ACM练习题
(共250篇)
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
470
hdu1864——最大报销额
现有一笔经费可以报销一定额度的***。允许报销的***类型包括买图书(A类)、文具(B类)、差旅(C类),要求每张***的总额不得超过1000元,每张***上,单项物品的价值不得超过600元。现请你编写程序,在给出的一堆***中找出可以报销的、不超过给定额度的最大报销额。 Input 测试输入包...
2021-04-05
0
478
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
910
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
569
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
536
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
648
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
501
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
418
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
467
poj1611——The Suspects
Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize...
2021-04-05
0
598
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页