申屠志刚
申屠志刚
全部文章
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篇)
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
调整队列
Description 这天小g遇到了一个队列,小g觉得队列乱糟糟的不好看。于是小g希望将队列调整成为一个等差数列(差可为0)。但是小g对每个数都最多调整一次,每次可以对这个数加一、减一。请你帮助小g解决这个问题,如果能调整出等差队列,输出需要调整的数的最小数量,否则输出-1。 Inpu...
C
BFS
2018-11-25
0
490
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
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
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
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
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
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
HDU Today
http://acm.hdu.edu.cn/showproblem.php?pid=2112 Problem Description 经过锦囊相助,海东集团终于度过了危机,从此,HDU的发展就一直顺风顺水,到了2050年,集团已经相当规模了,据说进入了钱江肉丝经济开发区5...
C
最短路
2018-11-30
0
721
她的名字
https://acm.ecnu.edu.cn/contest/125/problem/C/ 题解:卡着时间过的23333 首先XY的排列记录 再排列组合数 最后Q操作 用一个vector存储X的下标可以节约时间,不是一点点 /* *@Author: STZG *@Language...
C
贪心算法
2018-12-07
0
447
首页
上一页
4
5
6
7
8
9
10
11
12
13
下一页
末页