一 Words 1 stuck in 卡在 e.g. Many over 30s feel stuck in a financial rut. 很多超过30岁的人都觉得自己的经济状况很难有所改变。 2 elevator 按键的电梯 escalator传送带的电梯 3 walkable 适于步行的 4...
分类:
其他好文 时间:
2014-07-22 22:50:55
阅读次数:
224
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
笔者的公司搭建了一个Nexus服务器,用来管理我们自己的项目Release构件和Site文档.今天的问题是当用户访问一个Site里的PDF文件的时候,报错说“detected that the network has been closed.”但是用右键点击,然后另存为,却每次都能成功下载下来.本来...
分类:
其他好文 时间:
2014-07-20 08:11:14
阅读次数:
372
start_kernel
rest_init();
kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND);
do_basic_setup();
driver_init();
void __init driver_init(void)
void __init driver_init(vo...
分类:
其他好文 时间:
2014-07-20 00:10:38
阅读次数:
318
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
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?...
分类:
编程语言 时间:
2014-07-19 23:46:49
阅读次数:
516
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
Determine whether an integer is a palindrome. Do this without extra space.
判断一个int值是否为回文数。
本题有几点需要注意:
(1)不能用额外存储空间,也就是说只能用常数空间解决;诸如将int转换为string再去比较字符是不可行的;
(2)判断回文数的方法有两个:从中间开始向两头判断、从两头向中间判断;后者更简...
分类:
其他好文 时间:
2014-07-19 23:22:39
阅读次数:
345