Apparently it is by a backwards derivation solution. Say energy at h[i] is e, the next energy at h[i+1] is 2*e - h[i+1] => e', so backwards, e = ceil(...
分类:
其他好文 时间:
2015-05-27 07:26:06
阅读次数:
198
http://acm.hdu.edu.cn/showproblem.php?pid=1829
Problem Description
Background
Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two ...
分类:
其他好文 时间:
2015-05-19 21:00:27
阅读次数:
119
Maya Calendar
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 69769
Accepted: 21460
Description
During his last sabbatical, professor M. A. Ya made a surpr...
分类:
其他好文 时间:
2015-05-15 10:46:41
阅读次数:
131
A Bug's LifeTime Limit:10000MSMemory Limit:65536KTotal Submissions:29940Accepted:9802DescriptionBackgroundProfessor Hopper is researching the sexual b...
分类:
其他好文 时间:
2015-04-22 00:22:48
阅读次数:
211
F -A Bug's LifeTime Limit:10000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionBackgroundProfessor Hopper is researching the...
分类:
其他好文 时间:
2015-04-18 06:26:53
阅读次数:
154
时间限制:10000ms
单点时限:1000ms
内存限制:256MB
描述
Professor Q develops a new software. The software consists of N modules which are numbered from 1 to N. The i-th module will be started up by signal Si. If si...
分类:
其他好文 时间:
2015-04-05 20:33:27
阅读次数:
436
微软实习生线上笔试-2015-4-3(1,2题) Magic Box && Professor Q's Software...
分类:
其他好文 时间:
2015-04-04 18:29:54
阅读次数:
149
Language:
Default
A Bug's Life
Time Limit: 10000MS
Memory Limit: 65536K
Total Submissions: 29737
Accepted: 9729
Description
Background
Professor Hopper is resea...
分类:
其他好文 时间:
2015-03-22 09:11:35
阅读次数:
134
1196. History Exam
Time limit: 1.5 second
Memory limit: 64 MB
Professor of history decided to simplify the examination process. At the exam, every student should write a list of historic ...
分类:
其他好文 时间:
2015-03-12 19:19:49
阅读次数:
164
题目:A Bug's LifeTime Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 723 Accepted Submission(s): 277 Problem DescriptionBackground Professor Hopper is r...
分类:
其他好文 时间:
2015-02-26 18:34:00
阅读次数:
211