摘要: D. Tanya and Passwordtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhile dad was at work, a li... 阅读全文
posted @ 2015-03-17 13:02 Doli 阅读(133) 评论(0) 推荐(0) 编辑
摘要: POJ 1849 Two题目链接:http://poj.org/problem?id=1849题意:给你一棵树,每条边都有权值,给你两个人去遍历这棵树,问将这棵树遍历完的最小代价是多少,给定两个人的起点,两个人不一定要回到起点。思路:但是如果不回来,则所走路径中有一条简单路径是可以只走一遍的,派出了... 阅读全文
posted @ 2015-03-15 10:34 Doli 阅读(258) 评论(0) 推荐(0) 编辑
摘要: E. Fox And Dinnertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFox Ciel is participating in a ... 阅读全文
posted @ 2015-03-11 20:00 Doli 阅读(157) 评论(0) 推荐(0) 编辑
摘要: C. Fox And Namestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFox Ciel is going to publish a p... 阅读全文
posted @ 2015-03-09 09:27 Doli 阅读(189) 评论(0) 推荐(0) 编辑
摘要: GCDTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6446Accepted Submission(s): 2356Problem Descrip... 阅读全文
posted @ 2015-03-04 15:37 Doli 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Find a multipleTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 6418Accepted: 2796Special JudgeDescriptionThe input contains N natural (i.e. p... 阅读全文
posted @ 2015-03-03 20:55 Doli 阅读(149) 评论(0) 推荐(0) 编辑
摘要: RemotelandTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 262144/131072 K (Java/Others)Total Submission(s): 1112Accepted Submission(s): 419Proble... 阅读全文
posted @ 2015-03-03 16:40 Doli 阅读(194) 评论(0) 推荐(0) 编辑
摘要: B. Two Buttonstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has found a strange device. ... 阅读全文
posted @ 2015-03-02 20:17 Doli 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 传送门:http://acm.hdu.edu.cn/showproblem.php?pid=5179题目贴上来有点问题。。。。就贴个数据把Sample Input21 11999999993 999999999Sample Output102题意:问你 [L,R] 区间里的数符合 前位大于后卫,且每... 阅读全文
posted @ 2015-03-01 21:13 Doli 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 1013: [JSOI2008]球形空间产生器sphereTime Limit: 1 SecMemory Limit: 162 MBSubmit: 2696Solved: 1397[Submit][Status]Description有一个球形空间产生器能够在n维空间中产生一个坚硬的球体。现在,你被... 阅读全文
posted @ 2015-02-28 15:45 Doli 阅读(175) 评论(0) 推荐(0) 编辑