Counting Game There are n people standing in a line, playing a famous game called ``counting". When the game begins, the leftmost person says ``1" lo....
分类:
其他好文 时间:
2014-07-19 00:20:58
阅读次数:
245
The purpose of boredom惊呆了!无聊感可激发创造力Being bored can spur people’s creativity — partly to escape the horrible, frustrated, and meaningless feeling of bo...
分类:
其他好文 时间:
2014-07-16 23:22:03
阅读次数:
254
时间:0.25s空间:4m题意: 其实就是求无环第K短路。 输入: 给出n,m,k,分别代表,n个点,m条边,第k长路。 接下来m行,三个整数x,y,z,分别代表x,y之间有条费用为x的双向路。保证没有重边。输出: 第一行两个数a,b,第k小费用a,和经过的点的...
分类:
其他好文 时间:
2014-07-16 19:31:00
阅读次数:
179
BFS。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 #define MAXN 305 8 9 typedef struct node_st {10 int x, y;11 ...
分类:
其他好文 时间:
2014-07-15 23:05:28
阅读次数:
289
Apidemos-->Views-Lists-Cursor(people)-主要用到了获取手机联系人信息,属于内容提供者的范畴,要想了解这方面的内容,可以参考官方docs
/sdk/docs/guide/topics/providers/content-provider-basics.html
这里简单说下contentprovider;
contentprovi...
Using EF Oracle Sample Provider with EDM Designer (from msdn)Many people are asking if it is possible to use EFOracleProvider with EDM Designer in Vis...
分类:
数据库 时间:
2014-07-03 00:29:01
阅读次数:
412
The QCOW2 Image Format https://people.gnome.org/~markmc/qcow-image-format.html The QCOW image format is one of the disk image formats supported by the...
分类:
其他好文 时间:
2014-07-01 00:11:18
阅读次数:
421
Problem A: GuessTime Limit:1 SecMemory Limit:32 MBDescriptionIn the television program "Shopping Street" of CCTV-2, two people, A and B are guessing t...
分类:
其他好文 时间:
2014-06-30 23:24:47
阅读次数:
220
Blocks are a way to define a block of code that you will use at a later time.Sometimes people refer to blocks as anonymous functions because they are ...
分类:
其他好文 时间:
2014-06-30 15:21:04
阅读次数:
220
照例文章第一段跑题,先附上个段子(转载的哦~):
I hate CS people. They don't know linear algebra but want to teach projective geometry. They don't know any probability but want to use graphical models. They don't under...
分类:
其他好文 时间:
2014-06-29 22:35:13
阅读次数:
358