2011. Nine Digits
Constraints
Time Limit: 2 secs, Memory Limit: 256 MB
Description
Nine tiles, each with a number from 1 to 9 on it, are packed into a 3 by 3 frame. Your task is to ...
分类:
其他 时间:
2015-03-30 09:18:10
收藏:
0 评论:
0 赞:
0 阅读:
252
10392. Meet and Greet
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
As is commonly known, cows are very socially polite creatures: any time two cows meet after bei...
分类:
其他 时间:
2015-03-30 09:18:00
收藏:
0 评论:
0 赞:
0 阅读:
211
1818. 成绩转换
Constraints
Time Limit: 5 secs, Memory Limit: 32 MB
Description
保存学生姓名和成绩,然后通过姓名查询该学生的成绩等级。
输入为百分制的成绩,将其转换成对应的等级,具体转换规则如下:
90~100 为 A;
80~89 为 B;
70~79 为 C;
60~69...
分类:
其他 时间:
2015-03-30 09:17:50
收藏:
0 评论:
0 赞:
0 阅读:
288
2012. King
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB , Special Judge
Description
There are n children in a country marked by integers from 1 to n.
They often fight wit...
分类:
其他 时间:
2015-03-30 09:17:30
收藏:
0 评论:
0 赞:
0 阅读:
193
2014. Dairy Queen
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
Bessie, always in need of an income, has decided to leverage her dairy skills by taking a part-time...
分类:
其他 时间:
2015-03-30 09:17:20
收藏:
0 评论:
0 赞:
0 阅读:
250
2368. Penney Game
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
Penney's game is a simple game typically played by two players. One version of the game calls f...
分类:
其他 时间:
2015-03-30 09:17:10
收藏:
0 评论:
0 赞:
0 阅读:
221
2501. 算算式
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
_gXX遇到一个麻烦的式子:
S = n1 + n2 + n3 + ...... + nk,已知n、k,求S的值。
因为_gXX数学很差,希望你能告诉他答案。但是由于他的数学实在太差了,所以你只需要告诉...
分类:
其他 时间:
2015-03-30 09:17:00
收藏:
0 评论:
0 赞:
0 阅读:
185
4313. Boys and Girls
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
There
are N boys and N girls
at a dance party. We have measured their heights. Each boy will...
分类:
其他 时间:
2015-03-30 09:16:50
收藏:
0 评论:
0 赞:
0 阅读:
207
7143. Treasure
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
One day, MXWai found a treasure map. The map was
divided into 2^n * 2^n grids. The top left corner w...
分类:
其他 时间:
2015-03-30 09:16:40
收藏:
0 评论:
0 赞:
0 阅读:
217
9016. Pablo Squarson's Headache
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
Pablo Squarson is a well-known cubism artist. This year's theme for Pab...
分类:
其他 时间:
2015-03-30 09:16:30
收藏:
0 评论:
0 赞:
0 阅读:
201
7151. 1758!
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
1758 is coming! Some boys want to find
their dancing partners. For convenience, you may assume the squa...
分类:
其他 时间:
2015-03-30 09:16:20
收藏:
0 评论:
0 赞:
0 阅读:
261
9017. Amazing Mazes
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
You are requested to solve maze problems. Without passing through these mazes, you ...
分类:
其他 时间:
2015-03-30 09:16:10
收藏:
0 评论:
0 赞:
0 阅读:
176
9562. SUME
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
Once upon a time, there existed a sequence A consisting of N positive integers. You don't know the sequenc...
分类:
其他 时间:
2015-03-30 09:16:00
收藏:
0 评论:
0 赞:
0 阅读:
220
做个笔记:
linux 下查看符号表工具:nm
操作如下:
linux的nm命令可以一个文件中的符号列表,列出以上代码Gcc -c编译出的a.o(a.a a.so)可以通过nm命令来查看其中的符号信息:
源码打印?
0000000000000000 t
0000000000000000 d
000000000000000...
分类:
编程语言 时间:
2015-03-30 09:15:50
收藏:
0 评论:
0 赞:
0 阅读:
249
UIPickerView的常见属性、数据源方法、代理方法、宽度与高度的设置、创建UIDatePicker...
分类:
移动平台 时间:
2015-03-30 09:15:40
收藏:
0 评论:
0 赞:
0 阅读:
212
前两天,在环球上看到一条新闻——京津冀一体化首枚棋子落定 中关村牵手河北高新区,点开后,发现提到我的家乡,“近日从北京中关村管委会获悉,今年起中关村将牵头建立一条“京津冀大数据走廊”,依托三地大数据上下游企业自发形成的联盟,推动京津冀形成大数据产业带。张北草原,常年风寒。不久后一座密布金属网格的四方建筑将成为这里的新地标,这是中关村的北京国电通网络技术有限公司与张北县政府合作建设的大数据中心。数据...
分类:
其他 时间:
2015-03-30 09:15:30
收藏:
0 评论:
0 赞:
0 阅读:
241
上一个版本的改进版。使用了strtr() 函数使得简繁体字的转换代码更简洁了。...
分类:
其他 时间:
2015-03-30 09:15:20
收藏:
0 评论:
0 赞:
0 阅读:
103
UDP:用户数据报协议
UDP将应用层发的数据加上首部进行封装,提供不可靠的的服务。
UDP首部:
UDP首部包含2字节的源端口和目的端口,16位的UDP长度则代表UDP数据报的长度(包含UDP首部)所以该值最小为8个字节,数据为空。
UDP检验和:
首部中需要注意的是UDP的检验和和之前IP、ICMP的检验和是类似但是是有区别的,UDP数据报可...
分类:
其他 时间:
2015-03-30 09:15:11
收藏:
0 评论:
0 赞:
0 阅读:
266
一、使用VLC搭建服务端1、打开“媒体——流”选项,如图所示: 2、点击“添加”按钮选择流媒体文件,然后点击“串流”按钮 3、点击“下一个”后,在“目标设置”界面选择“RTSP”,然后点击添加按钮,可以取消“激活转码”。设置端口和路径(可默认) 4、然后点击下一个可以看到基本信息。 5、最后点击“串流”即可,这是VLC会开始播放刚选择的视频文件。(注意:播放时VLC时看不到画面的,原因我也不知...
分类:
其他 时间:
2015-03-30 09:15:00
收藏:
0 评论:
0 赞:
0 阅读:
1578
VLC不仅仅是个播放器,也可以作为流媒体服务器使用。这个网上有相关的资料,我就不多说了。声明下本文用的VLC版本:2.0.3用VLC搭建基于UDP的流媒体服务器流媒体服务器大多数是基于UDP的,这个在VLC中也有好几种实现,我这里只列出我用到的几个。1、UDP(legacy)传统模式服务端操作打开“媒体——流”选项,如图所示:点击“添加”按钮选择流媒体文件,然后点击“串流”按钮点击“下一个”后,在...
分类:
其他 时间:
2015-03-30 09:14:50
收藏:
0 评论:
0 赞:
0 阅读:
295