# uname -a # 查看内核/操作系统/CPU信息 #cat /proc/version #
查看内核 # cat /etc/issue # 查看操作系统版本 # head -n 1 /etc/issue # 查看操作系统版本 # ca...
分类:
系统相关 时间:
2014-06-07 02:46:29
阅读次数:
375
Given an array of non-negative integers, you
are initially positioned at the first index of the array.Each element in the
array represents your maximu...
分类:
其他好文 时间:
2014-06-04 20:58:25
阅读次数:
296
Given an array of non-negative integers, you
are initially positioned at the first index of the array.Each element in the
array represents your maximu...
分类:
其他好文 时间:
2014-06-04 20:44:19
阅读次数:
216
Given an unsorted integer array, find the first
missing positive integer.For
example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:
其他好文 时间:
2014-06-04 20:13:41
阅读次数:
350
head
代码。。Java代码#import@interfaceViewController:UIViewController{UIProgressView*progressview;UIProgressView*progressviewbar;NSTimer*timer;}@property(re...
分类:
移动开发 时间:
2014-06-04 19:55:32
阅读次数:
359
Merge two sorted linked lists and return it as
a new list. The new list should be made by splicing together the nodes of the
first two lists./***Defin...
分类:
其他好文 时间:
2014-06-04 19:23:45
阅读次数:
243
这个结构从list.h 移到了types.h,
可见内核对循环链表的重视include/linux/types.h中定义struct list_head { struct list_head *next,
*prev;};include/linux/list.h 中的宏初始化 一个叫name的链表节...
分类:
系统相关 时间:
2014-05-30 23:10:13
阅读次数:
412
题目描述:输入一个链表,反转链表后,输出链表的所有元素。(hint :
请务必使用链表)输入:输入可能包含多个测试样例,输入以EOF结束。对于每个测试案例,输入的第一行为一个整数n(0next也就是p1来改变p1元素的位置,代码如下:Node
*p = head->next; Node *p1...
分类:
其他好文 时间:
2014-05-30 21:55:06
阅读次数:
349
DescriptionGiven a set of sticks of various
lengths, is it possible to join them end-to-end to form a square?InputThe first
line of input contains N, ...
分类:
其他好文 时间:
2014-05-30 21:21:54
阅读次数:
284
float f=0; __asm { mov esi, this ; vector u movups
xmm0, [esi] ; first vector in xm...
分类:
其他好文 时间:
2014-05-30 20:17:35
阅读次数:
318