申屠志刚
申屠志刚
全部文章
C
ACM(1)
C++(380)
C.++(1)
CTF(44)
C语言(34)
DP(4)
JAVA(2)
Python(1)
博弈论(1)
并查集(2)
最小生成树(1)
最短路(2)
未归档(435)
浙江理工大学2018年10月赛(2)
生成树(1)
申屠志刚的ACM之路(37)
申屠志刚的CTF之路(2)
矩阵(1)
线段树(1)
经典问题(1)
背包问题(1)
语法(1)
归档
标签
去牛客网
登录
/
注册
申屠志刚
你已经是一个成熟ACMER了,要学会自己DEBUG了。
全部文章
/ C
(共128篇)
Wine trading in Gergovia
http://acm.hdu.edu.cn/showproblem.php?pid=1489 Problem Description As you may know from the comic "Asterix and the Chieftain's Shield&...
C
思维
2018-11-30
0
626
Dream City
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3211 JAVAMAN is visiting Dream City and he sees a yard of gold coin trees. There are ntr...
C
01背包
DP
2018-11-30
0
381
Bottles
https://codeforces.com/problemset/problem/730/J Nick has n bottles of soda left after his birthday. Each bottle is described by two values: remaining...
C
01背包
DP
2018-11-29
0
0
The Values You Can Make
https://codeforces.com/problemset/problem/687/C Pari wants to buy an expensive chocolate from Arya. She has n coins, the value of the i-th coin is ci...
C
DP
01背包
多维背包
DFS
2018-11-28
0
474
Fire
https://codeforces.com/problemset/problem/864/E Polycarp is in really serious trouble — his house is on fire! It's time to save the most valuable ite...
C
01背包
2018-11-28
0
592
Round Subset
https://codeforces.com/problemset/problem/837/D Let's call the roundness of the number the number of zeros to which it ends. You have an array of n ...
C
01背包
2018-11-28
0
616
调整队列
Description 这天小g遇到了一个队列,小g觉得队列乱糟糟的不好看。于是小g希望将队列调整成为一个等差数列(差可为0)。但是小g对每个数都最多调整一次,每次可以对这个数加一、减一。请你帮助小g解决这个问题,如果能调整出等差队列,输出需要调整的数的最小数量,否则输出-1。 Inpu...
C
BFS
2018-11-25
0
490
A Mini Locomotive
http://poj.org/problem?id=1976 A train has a locomotive that pulls the train with its many passenger coaches. If the locomotive breaks down, there is...
C
01背包
DP
2018-11-23
0
0
Proud Merchants
http://acm.hdu.edu.cn/showproblem.php?pid=3466 Recently, iSea went to an ancient country. For such a long time, it was the most wealthy and powerful ...
C
01背包
2018-11-21
0
543
Bone Collector
http://acm.hdu.edu.cn/showproblem.php?pid=2602 Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to...
C
01背包
2018-11-20
0
467
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页