码迷,mamicode.com
首页 >  
搜索关键字:poj2342 anniversary    ( 213个结果
Codeforces 1A&1B
1A.Theatre Square in the capital city of Berland has a rectangular shape with the size n?×?m meters. On the occasion of the city's anniversary, a deci...
分类:其他好文   时间:2015-12-26 18:33:46    阅读次数:149
mysql修改数据库编码(数据库字符集)和表的字符编码的方法
Mysql数据库是一个开源的数据库,应用非常广泛。以下是修改mysql数据库的字符编码的操作过程和将表的字符编码转换成utf-8的方法,需要的朋友可以参考下.mysql将表的字符编码转换成utf-8:alter table tb_anniversary convert to character se...
分类:数据库   时间:2015-12-13 12:28:55    阅读次数:139
hdu1520 Anniversary party(poj2342,树形dp)
Anniversary party Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7303 Accepted Submission(s): 3220 Problem Description There is going to ...
分类:其他好文   时间:2015-11-07 16:12:29    阅读次数:240
【Poj】 p2342 Anniversary party(树形DP第一道)
Anniversary partyTime Limit:1000MSMemory Limit:65536KTotal Submissions:5523Accepted:3169DescriptionThere is going to be a party to celebrate the 80-th...
分类:其他好文   时间:2015-11-05 18:44:49    阅读次数:249
hdu 4750 Count The Pairs(并查集+二分)
Problem DescriptionWith the 60th anniversary celebration of Nanjing University of Science and Technology coming soon, the university sets n tourist sp...
分类:其他好文   时间:2015-09-17 13:25:39    阅读次数:204
hdu 4751 Divide Groups(dfs染色 或 2-sat)
Problem DescriptionThis year is the 60th anniversary of NJUST, and to make the celebration more colorful, Tom200 is going to invite distinguished alum...
分类:其他好文   时间:2015-09-17 01:12:21    阅读次数:254
HDU 1520 Anniversary party (树形DP,入门)
题意:给一棵树,每个节点都有权值,要求选择部分节点出来,使得权值之和最大,但是每对(父亲,儿子)中最多只能挑一个。思路: 比较入门的题,每个节点可以选也可以不选。若当前节点选的话,孩子必须全部不选;若当前节点不选,则孩子可以选也可以不选。 1 #include 2 #define pii pai.....
分类:其他好文   时间:2015-09-14 12:00:33    阅读次数:113
hdu 5310 Souvenir(BestCoder 1st Anniversary ($))
http://acm.hdu.edu.cn/showproblem.php?pid=5310题目大意:要买n个纪念品,可以单个买p元每个,可以成套买q元一套,每套有m个,求最少花费#include#include#include#include#define N 110using namespace...
分类:其他好文   时间:2015-09-02 13:22:58    阅读次数:126
hdu 5311 Hidden String (BestCoder 1st Anniversary ($))(深搜)
http://acm.hdu.edu.cn/showproblem.php?pid=5311Hidden StringTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 262144/262144 K (Java/Others)Total Subm...
分类:其他好文   时间:2015-09-01 13:57:30    阅读次数:165
hdu oj 1520 Anniversary party(树形dp入门)
Anniversary partyTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6990Accepted Submission(s): 3104P...
分类:其他好文   时间:2015-09-01 13:50:27    阅读次数:194
213条   上一页 1 ... 10 11 12 13 14 ... 22 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!