码迷,mamicode.com
首页 >  
搜索关键字:hdoj    ( 2498个结果
hdoj - 1506 直方图中最大的矩形
Problem Description A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but ...
分类:其他好文   时间:2019-05-12 19:49:00    阅读次数:91
HDOJ 2054
主要是关于!=string::npos的用法和substr的用法 ...
分类:其他好文   时间:2019-04-20 00:19:01    阅读次数:203
HDOJ 1528 Card Game Cheater
版权声明:来自: 码代码的猿猿的AC之路 http://blog.csdn.net/ck_boss https://blog.csdn.net/u012797220/article/details/35236457 简单二分图匹配.... Card Game Cheater Time Limit: ...
分类:其他好文   时间:2019-03-25 19:13:24    阅读次数:146
HDOJ 2019 数列有序!
有个坑点,题目中的有序没说是降序还是升序! ...
分类:其他好文   时间:2019-03-23 22:34:50    阅读次数:175
HDOJ 2020 绝对值排序
#include #include #include #include using namespace std; bool cmp(int a, int b) { return abs(a) > abs(b); } int main() { int n; while (cin >> n && n !... ...
分类:编程语言   时间:2019-03-23 22:24:34    阅读次数:189
HDOJ 2072(map)
#include #include #include #include #include #include #include #include #include #include #include using namespace std; string s,str; mapm; int main()... ...
分类:其他好文   时间:2019-03-19 01:09:47    阅读次数:148
hdoj1260 Tickets (简单DP)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1260 思路: 很简单的DP题,状态方程也比较容易想到,用f[i]表示到第i个人所耗的最短时间,详见代码。 ...
分类:其他好文   时间:2019-02-19 11:54:52    阅读次数:149
HDOJ.1251
今天我学习了字典树(trie tree) 从 作者:xxy 出处: http://www.cnblogs.com/TheRoadToTheGold/ 学的 可以用来查询字符串是多少字符串的前缀 sum在插入时每一层都会加1 感觉非常精妙 cpp include using namespace std ...
分类:其他好文   时间:2019-02-14 22:19:16    阅读次数:179
HDOJ.1263
一道非常简单的map题吧 ~~因为没做过hd的题所以输出格式爆炸~~ cpp include using namespace std; int n; int m; map,int mm; int main() { cin n; map,int ::iterator it; string ts1,ts ...
分类:其他好文   时间:2019-02-14 22:14:11    阅读次数:184
[HDOJ]Coin Change(DP)
题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=2069 题意 有面值1,5,10,25,50的硬币数枚,对于输入的面值n,输出可凑成面值n(且限制总硬笔数小于等于100枚)的方案数。特别的,n=0时方案数=1。 其中,输入n include inclu ...
分类:其他好文   时间:2019-02-14 00:10:19    阅读次数:175
2498条   上一页 1 ... 4 5 6 7 8 ... 250 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!