最大连续子序列 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 31021 Accepted Submission(s): 13922 Probl ...
分类:
其他好文 时间:
2017-03-08 00:58:35
阅读次数:
166
Memory units are numbered from 1 up to N. A sequence of memory units is called a memory block. The memory control system we consider now has four kind ...
分类:
其他好文 时间:
2017-02-28 22:27:52
阅读次数:
240
Given n integers. You have two operations: U A B: replace the Ath number by B. (index counting from 0) Q A B: output the length of the longest consecu ...
分类:
其他好文 时间:
2017-02-23 20:51:23
阅读次数:
209
Prime Ring Problem Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 47217 Accepted Submission(s): ...
分类:
其他好文 时间:
2017-02-20 19:53:59
阅读次数:
185
Problem Description Computer simulations often require random numbers. One way to generate pseudo-random numbers is via a function of the formseed(x+1 ...
分类:
其他好文 时间:
2017-02-18 18:52:36
阅读次数:
165
Safecracker Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 13669 Accepted Submission(s): 7150 Pr ...
分类:
其他好文 时间:
2017-02-16 22:42:43
阅读次数:
192
计算器 Problem Description 读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。 Input 测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不要输 ...
分类:
其他好文 时间:
2017-01-29 15:30:48
阅读次数:
175
系统的学了一下贪心,事件的调度问题。重新写了一下。 传送门:http://acm.hdu.edu.cn/showproblem.php?pid=2037 ...
分类:
其他好文 时间:
2017-01-25 16:36:45
阅读次数:
175
题目网址 http://acm.hdu.edu.cn/showproblem.php?pid=1001 嗨,欢迎来到HDOJ,在这个问题里面,你的任务是计算sum(n)而sum(n)=1+2+3+....+n输入的话,会输入一系列的n对于每个n,你需要输出对应的sum(n)在每一行后面,并跟随着一个 ...
分类:
其他好文 时间:
2017-01-17 10:46:17
阅读次数:
166