Sudoku is a very simple task. A square table with 9
rows and 9 columns is divided to 9 smaller squares 3x3 as shown on the Figure.
In some of the cell...
分类:
其他好文 时间:
2014-05-26 21:55:25
阅读次数:
299
Team Foundation Server (TFS)工具的亮点之一是管理日常工作项,
工作项如Bug, Task,Task Case等。使用TFS API编程访问TFS服务器中的工作项, 步骤如下:1。 准备,首先要明确TFS服务器的URL,
TFS服务器访问就像访问网站。需要通过一个网络地址。...
Help Me with the GameTime Limit: 1000MSMemory
Limit: 65536KTotal Submissions: 3175Accepted: 2053DescriptionYour task is to
read a picture of a chessbo...
分类:
其他好文 时间:
2014-05-26 10:28:59
阅读次数:
618
DefaultHttpClient和它的兄弟AndroidHttpClient都是HttpClient具体的实现类,它们都拥有众多的API,而且实现比较稳定,bug数量也很少。
但同时也由于HttpClient的API数量过多,使得我们很难在不破坏兼容性的情况下对它进行升级和扩展,所以目前Android团队在提升和优化HttpClient方面的工作态度并不积极。
在Android开发中,A...
分类:
其他好文 时间:
2014-05-26 06:16:06
阅读次数:
259
日之前点击链接进行网上报名,只有报名成功的同学才能参加选拔赛。
问题 F: Graph
时间限制: 1 Sec 内存限制: 128 MB
提交: 30 解决: 5
[提交][状态][论坛]
题目描述
Your task is to judge whether a regular polygon can be drawn only by straightedge...
分类:
其他好文 时间:
2014-05-26 05:29:16
阅读次数:
389
Problem Description
Everybody knows any number can be combined by the prime number.
Now, your task is telling me what position of the largest prime factor.
The position of prime 2 is 1, prime 3 is ...
分类:
其他好文 时间:
2014-05-26 04:29:14
阅读次数:
371
sleep_on用于进程休眠,原型如下:
void sleep_on(struct task_struct **p)
当进程访问某个互斥资源时,如果资源被另外进程占用,当前进程就需要休眠。
假设资源的结构如下:
struct res
{
....
struct task_struct *wait;
}
其实我们参考下文件系统的i节点就会发现,i节点也是一种资源,它的结构体中就有一...
分类:
系统相关 时间:
2014-05-26 04:28:02
阅读次数:
439
官方文档在这里:http://sae.sina.com.cn/doc/python/cron.html
就是通过在config.yaml文件中添加Cron段,例如:
cron:
- description: timing_task
url: /on_time
schedule: "*/5 * * * *"
代表每5分钟以get方式访问/on_time这个链接。
...
分类:
编程语言 时间:
2014-05-25 00:53:02
阅读次数:
296
Rescue
Problem Description
Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M
Angel's friends want to save Angel. Their task is: a...
分类:
其他好文 时间:
2014-05-23 00:06:37
阅读次数:
482
#include "STC12C5A.H"
#define TIMER_RELOAD() {TL0=0x00;TH0=0xC4;}//使能T/C
初始10ms
#define MAX_TASKS 2 //任务槽最大个数.
unsigned char idata task_stack[MAX_TASKS][2];//任务堆栈. PC指针为16位,需2个字节task_st...
分类:
编程语言 时间:
2014-05-23 00:03:19
阅读次数:
341