Problem Description
You play a game with your friend. He draws several lines on the paper with n×m square grids (see the left figure). After that, he writes down the number of lines passing through...
分类:
其他好文 时间:
2014-09-21 02:54:39
阅读次数:
381
I spent several hours to figure out some conceptions about channel tonight1. buffered channel and non-buffered channelbuffered channelbufferedchan := ...
分类:
其他好文 时间:
2014-09-19 01:08:44
阅读次数:
256
Description
You want to hold a party. Here's a polygon-shaped cake on the table. You'd like to cut the cake into several triangle-shaped parts for the invited comers. You have a knife to cut. The t...
分类:
其他好文 时间:
2014-09-18 23:48:44
阅读次数:
314
什么是Pair 关于类Pair的介绍,下面是引自《C++ Standard Library》的一段话: The class pair is provided to treat two values as a single unit. It is used in several places wi.....
分类:
其他好文 时间:
2014-09-16 22:03:51
阅读次数:
176
Ann has recently started commuting by subway. We know that a one ride subway ticket costs
a rubles. Besides, Ann found out that she can buy a special ticket for
m rides (she can buy it several times...
分类:
其他好文 时间:
2014-09-15 10:05:28
阅读次数:
320
Problem DescriptionAfter eating food from Chernobyl, DRD got a super power: he could clone himself right now! He used this power for several times. He...
分类:
其他好文 时间:
2014-09-14 12:39:27
阅读次数:
299
ProblemWhile indexes can speed up execution of queries several fold as they can make the querying process faster, there is overhead associated with th...
分类:
数据库 时间:
2014-09-09 15:23:08
阅读次数:
376
Fiber Network
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 3107
Accepted: 1427
Description
Several startup companies have decided to build a better In...
分类:
Web程序 时间:
2014-09-06 17:26:33
阅读次数:
292
OverviewWe can get SegFault by several reasons:aligned access to unaligned memory(usally see in ARM NEON)cross-border accessint temp[2] = {0};temp[2] ...
分类:
系统相关 时间:
2014-09-05 17:57:01
阅读次数:
296
Description
You live in a village but work in another village. You decided to follow the straight path between your house (A) and the working place (B), but there are several rivers you need to cro...
分类:
其他好文 时间:
2014-09-03 11:22:36
阅读次数:
215