Jzzhu has invented a kind of sequences, they meet the following property:
You are given x and y,
please calculate fn modulo 1000000007 (109?+?7).
Input
The first line contains two int...
分类:
其他好文 时间:
2014-07-22 22:49:33
阅读次数:
296
Jzzhu has a big rectangular chocolate bar that consists of n?×?m unit squares. He wants to cut this bar exactly k times.
Each cut must meet the following requirements:
each cut should be straig...
分类:
其他好文 时间:
2014-07-22 22:49:15
阅读次数:
192
CGI has maybe the worst lift cycle possible.As designed, each request to a CGI resource creates a new process on the server andpasses information to.....
分类:
Web程序 时间:
2014-07-22 09:06:07
阅读次数:
330
Jzzhu has invented a kind of sequences, they meet the following property:
You are given x and
y, please calculate fn modulo
1000000007 (109?+?7).
Input
The first line contains two integers...
分类:
其他好文 时间:
2014-07-20 10:43:17
阅读次数:
213
笔者的公司搭建了一个Nexus服务器,用来管理我们自己的项目Release构件和Site文档.今天的问题是当用户访问一个Site里的PDF文件的时候,报错说“detected that the network has been closed.”但是用右键点击,然后另存为,却每次都能成功下载下来.本来...
分类:
其他好文 时间:
2014-07-20 08:11:14
阅读次数:
372
Balance
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 10299
Accepted: 6372
Description
Gigel has a strange "balance" and he wants to poise it. Actually, ...
分类:
其他好文 时间:
2014-07-19 23:46:59
阅读次数:
381
Charm Bracelet
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 22621
Accepted: 10157
Description
Bessie has gone to the mall's jewelry store and spies a...
分类:
其他好文 时间:
2014-07-19 23:46:49
阅读次数:
318
Antenna Placement
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 6445
Accepted: 3182
Description
The Global Aerial Research Centre has been allotted the t...
分类:
其他好文 时间:
2014-07-19 23:36:19
阅读次数:
377
Robot Motion
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 6297 Accepted Submission(s): 2952
Problem Description
A robot has b...
分类:
其他好文 时间:
2014-07-19 23:31:59
阅读次数:
271
Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?算法思路1:快慢指针,当两个指针相遇,则表示有环,...
分类:
其他好文 时间:
2014-07-19 18:38:30
阅读次数:
198