会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
junior19
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
上一页
1
2
3
4
5
6
7
8
···
24
下一页
2017年3月23日
CF560B:Gerald is into Art(思维)
摘要: B. Gerald is into Art time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Ger...
阅读全文
posted @ 2017-03-23 17:50 junior19
阅读(116)
评论(0)
推荐(0)
CF544A:Set of Strings(字符串处理)
摘要: 原题链接 A. Set of Strings time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output...
阅读全文
posted @ 2017-03-23 17:25 junior19
阅读(161)
评论(0)
推荐(0)
lightoj1240:Point Segment Distance (3D)(三分)
摘要: 1240 - Point Segment Distance (3D) PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Given a segment ...
阅读全文
posted @ 2017-03-23 17:04 junior19
阅读(176)
评论(0)
推荐(0)
UVA10817:Headmaster's Headache(状压dp)
摘要: 题意:s个学科,每个学科至少要2个老师教,现有m个老师,不能辞退他们的前提下,从n个应聘者招收若干个使得每个学科至少2个老师教,求总工资的最小值。 思路:dp[i][j]中的i表示科目被选的状态,j表示多于1个人选择某科目的状态,dp[(1# define INF 0x3f3f3f3fusi...
阅读全文
posted @ 2017-03-23 00:03 junior19
阅读(113)
评论(0)
推荐(0)
2017年3月21日
POJ2342:Anniversary party(树形dp)
摘要: Anniversary party Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7937 Accepted: 4549 Description There is going to be ...
阅读全文
posted @ 2017-03-21 15:12 junior19
阅读(85)
评论(0)
推荐(0)
2017年3月19日
ZSTU校赛Problem H: 玩具(尺取)
摘要: Problem H: 玩具 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 281 Solved: 70 Description 商店有n个玩具,第i个玩具有价格a[i]和快乐值b[i]。有一天,小王来到商店想买一些玩具,商店老板告诉...
阅读全文
posted @ 2017-03-19 17:32 junior19
阅读(133)
评论(0)
推荐(0)
ZSTU校赛Problem D: 买iphone(背包)
摘要: Problem D: 买iphone Time Limit: 3 Sec Memory Limit: 128 MB Submit: 825 Solved: 121 Description 自从上次仓鼠中了1000万彩票后,彻底变成了土豪了,一群人愿意认他做干爹,仓鼠决定送他的干儿...
阅读全文
posted @ 2017-03-19 17:22 junior19
阅读(117)
评论(0)
推荐(0)
2017年3月18日
HDU1535:Invitation Cards(最短路)
摘要: Invitation Cards Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 3909 Accepted Submis...
阅读全文
posted @ 2017-03-18 23:45 junior19
阅读(139)
评论(0)
推荐(0)
2017年3月17日
GDUT1165: zas的二进制(简单dp)
摘要: 1165: zas的二进制 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 88 Solved: 39 Description zas最近在玩一种特别的二进制数,它没有前导零且只由1和0组成,并且没有连续的1相邻在一起,例如前几个就...
阅读全文
posted @ 2017-03-17 22:23 junior19
阅读(192)
评论(0)
推荐(0)
2017年3月15日
51nod1682:中位数计数(前缀和)
摘要: 1682 中位数计数 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 收藏 关注 中位数定义为所有值从小到大排序后排在正中间的那个数,如果值有偶数个,通常取最中间的两个数值的平均数作为中位数。 现在有n个数,每个数都是独一无...
阅读全文
posted @ 2017-03-15 23:58 junior19
阅读(176)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
24
下一页