目录(?)[+]
部分摘自《Linux System Programming 》作者: Robert Love
刘建文略译(http://blog.csdn.net/keminlau)
KEY:系统论 系统编程
System Programming
过去的Unix编程是没有系统不系统之分的。即便是开发 X Window也是在系统级(system-level...
分类:
其他好文 时间:
2014-05-15 19:37:44
阅读次数:
263
题目链接:
http://acm.hdu.edu.cn/showproblem.php?pid=1847
题目意思:
有n张牌,两个人轮流抓,每次可以抓2的幂次数量的牌,求谁会赢。
n
解题思路:
sg函数简单应用。
将2的幂次表打出来。然后递推求出每个状态的sg函数,最后判断sg[n]是否为0,为0表示必输状态,否则为赢状态。
代码:
//#include
#includ...
分类:
其他好文 时间:
2014-05-15 18:23:40
阅读次数:
315
装了Windows 8.1与Ubuntu双系统后,在Ubuntu系统下想进入Windows的某个NTFS分区,点击时却出现下面错误:Error mounting /dev/sda2 at /media/love/Mis Archiivos...
分类:
Windows程序 时间:
2014-05-15 05:29:20
阅读次数:
1433
I Love Military Chess
Accepted : 45
Submit : 141
Time Limit : 1000 MS
Memory Limit : 65536 KB
题目描述
陆军棋,又称陆战棋,简称军棋,是中国近代的一种两人棋类,设计根据军队中的军阶。每一方有25枚棋子...
分类:
其他好文 时间:
2014-05-13 08:22:28
阅读次数:
286
显示数据库中的存储过程__转
It's no easy trick to see stored procedures in a database programmatically with a scripting language like ASP. If you're using MS Access, you're out of luck. Access provides no way to ...
分类:
数据库 时间:
2014-05-12 22:43:25
阅读次数:
541
/* *******************************************
***** File Name: Love.c
***** Description: Love Story about you and me
***** Author: JPing.Cai
***** Date: 2014-5-10
***** Last Version: 1.0
* *******...
分类:
其他好文 时间:
2014-05-11 14:15:46
阅读次数:
290
转自
http://blog.csdn.net/ve_love/article/details/19685399
分类:
数据库 时间:
2014-05-10 08:04:50
阅读次数:
266
在【CodeSmith快速入门之一:初次接触CodeSmith】中,我们实现了最简单的模板,但是模板中的内容无法由用户的输入决定。假定你女朋友要你在新年的时候说10次“I
LOVE YOU”,而在情节人那天要你说1000次“I LOVE YOU FOR EVER”,这可怎么办呢?我们经过分析,其实就...
分类:
其他好文 时间:
2014-05-10 07:09:56
阅读次数:
300
#import int main(){/* 1.NSRange/CGRange
2.NSPoint/CGPoint 3.NSSize/CGSize 4.NSRect/CGRct *///
NSRange/CGRange(location,length)NSString *str = @"i love...
分类:
其他好文 时间:
2014-05-08 14:51:00
阅读次数:
325
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4631
Sad Love Story
Time Limit: 40000/20000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)
Total Submission(s): 1590 Accepted S...
分类:
其他好文 时间:
2014-05-07 02:40:43
阅读次数:
376