Ignatius and the Princess IV
Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32767K (Java/Other)
Total Submission(s) : 7 Accepted Submission(s) : 3
Font: Times New Roman | Verdana | ...
分类:
其他好文 时间:
2014-05-05 13:01:52
阅读次数:
325
文件存储的用途:
A File object is suited to reading or writing large amounts of data in start-to-finish order without skipping around. For example, it's good for image files or anything exchanged over a netw...
分类:
移动开发 时间:
2014-05-05 13:01:21
阅读次数:
339
/*素数求和问题时间限制:3000 ms | 内存限制:65535 KB 难度:2描述
现在给你N个数(0int a[1000]={1,1,0,0,0};void f() { int i,j; for(i=2;i<100;i++) {
if(a[i]...
分类:
其他好文 时间:
2014-05-04 10:36:15
阅读次数:
239
本文出自:http://blog.csdn.net/svitter
括号匹配一:http://acm.nyist.net/JudgeOnline/problem.php?pid=2
括号匹配二:http://acm.nyist.net/JudgeOnline/problem.php?pid=15
之前被这个题目难住,现在看动态规划就顺便过来AC了它。结果发现当年被难住一点...
分类:
其他好文 时间:
2014-05-03 23:52:18
阅读次数:
408
多线程编程之信号量
Pthread是 POSIX threads 的简称,是POSIX的线程标准。
互斥量用来处理一个共享资源的同步访问问题,当有多个共享资源时,就需要用到信号量机制。
信号量机制用于保证两个或多个共享资源被线程协调地同步使用,信号量的值对应当前可用资源的数量。
1.信号量(samaph...
分类:
编程语言 时间:
2014-05-03 21:19:12
阅读次数:
477
NYOJ 623 A*B ProblemII...
分类:
其他好文 时间:
2014-05-03 16:26:12
阅读次数:
207