1 package Today; 2 //LeetCode:476. Number Complement 3 /* 4 Given a positive integer, output its complement number. 5 The complement strategy is to fl... ...
分类:
其他好文 时间:
2017-02-06 13:13:42
阅读次数:
162
K-th Number Time Limit: 20000MS Memory Limit: 65536K Total Submissions: 52651 Accepted: 18091 Case Time Limit: 2000MS Description You are working for ...
分类:
其他好文 时间:
2017-02-03 20:49:50
阅读次数:
194
地址: 题目: Space Ant Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 4295 Accepted: 2697 Description The most exciting space discovery occurre ...
分类:
其他好文 时间:
2017-02-02 13:55:56
阅读次数:
262
Note: This is an extension of House Robber. After robbing those houses on that street, the thief has found himself a new place for his thievery so tha ...
分类:
其他好文 时间:
2017-01-30 10:34:57
阅读次数:
198
Use Compressed Sparse Row Format (CSR) to represent matrix 1 #include "cuda_runtime.h" 2 #include "device_launch_parameters.h" 3 #include "gputimer.h" ...
分类:
其他好文 时间:
2017-01-24 12:21:32
阅读次数:
358
7月21日任务 Coyle, J. R. Intraspecific variation in epiphyte functional traits reveals limited effects of microclimate on community assembly in temperate ...
分类:
Web程序 时间:
2017-01-20 07:40:04
阅读次数:
273
semipal.in / semipal.out Por Costel the pig, our programmer in-training, has recently returned from the Petrozaporksk training camp. There, he learned ...
分类:
其他好文 时间:
2017-01-20 07:35:51
阅读次数:
430
题目链接:http://poj.org/problem?id=2253 题目大意:有一只青蛙想到另一只青蛙那,但是不能一次到位,他需要借助中间的石头跳跃,问他到另一只那走的最短路中的最长跳跃距离是多少? 方法:求到另一只青蛙的地方的最小生成树的最大距离。 ...
分类:
其他好文 时间:
2017-01-14 12:36:26
阅读次数:
263
The kernel uses structures of type struct cdev to represent char devices internally. Include <linux/cdev.h> so that you can use the following structur ...
分类:
其他好文 时间:
2017-01-12 18:29:56
阅读次数:
132
背景和问题 在看别人整理的资料时,看到如下一段代码: 如果没有看过源码的同学肯定觉的答案要么是2个true要么是2个false。我刚看到这一段代码的时候也觉的是2个true,感觉自己100%确定,不过真正运行之后才发现傻眼了,一个true一个false,这是Bug吧。其实LZ以前看过一部分Integ ...
分类:
其他好文 时间:
2017-01-12 09:45:16
阅读次数:
235