Description
N children are sitting in a circle to play a game.
The children are numbered from 1 to N in clockwise order. Each of them has a card with a non-zero integer on it in his/her hand. Th...
分类:
其他好文 时间:
2014-08-02 15:37:33
阅读次数:
259
Description
Georgia and Bob decide to play a self-invented game. They draw a row of grids on paper, number the grids from left to right by 1, 2, 3, ..., and place N chessmen on different grid...
分类:
其他好文 时间:
2014-08-02 12:56:13
阅读次数:
312
在ubuntu linux 中编写一个自己的简单的bash脚本。实现功能:终端中输入简单的命令(以pmpy为例(play music python),为了区别之前说的bash脚本添加了py后缀),来实现音乐的播放。注:本人ununut中安装了audacious,所以就以audacious为例,来实现...
分类:
编程语言 时间:
2014-08-02 09:57:53
阅读次数:
264
Code:: 播放 if(!m_animate1.Open("C:\\copy.avi")) { MessageBox("NULL"); return; } m_animate1.Play(0...
分类:
编程语言 时间:
2014-08-01 22:40:52
阅读次数:
271
Playground
Time limit:
2s
Source limit:
50000B
Memory limit:
256MB
My kid's school cleared a large field on their property recently to convert it into a play...
分类:
其他好文 时间:
2014-08-01 19:43:32
阅读次数:
328
在drawable 目录下增加一个myselector.xml文件,appwidget_play.png,appwidget_played.pngmyselector.xml文件中内容如下layout文件中:<ImageButton android:layout_height="wrap_conte...
分类:
其他好文 时间:
2014-08-01 13:10:11
阅读次数:
236
Chessboard
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 13176
Accepted: 4118
Description
Alice and Bob often play games on chessboard. One day, Alice ...
分类:
其他好文 时间:
2014-08-01 00:07:10
阅读次数:
285
Description
Dumbear likes to play the Chinese Rings (Baguenaudier). It’s a game played with nine rings on a bar. The rules of this game are very simple: At first, the nine rings are all on the bar....
分类:
其他好文 时间:
2014-07-30 20:50:24
阅读次数:
319
A Famous Stone Collector
Problem Description
Mr. B loves to play with colorful stones. There are n colors of stones in his collection. Two stones with the same color are indistinguishable. M...
分类:
其他好文 时间:
2014-07-30 17:41:44
阅读次数:
287
题目链接题意 : 有很多门,每个门上有很多磁盘,每个盘上一个单词,必须重新排列磁盘使得每个单词的第一个字母与前一个单词的最后一个字母相同。给你一组单词问能不能排成上述形式。思路 :把每个单词看成有首字母指向尾字母的有向边,每个字母看成一个点,题中要求等效于判断图中是否存在一条路径经过每一条一次且仅一...
分类:
其他好文 时间:
2014-07-30 11:54:33
阅读次数:
229