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
译文:
大致意思是将某些端口的数据发送到指定的端口。
原文如下
12.5.2.2
Mirror Port Configuration
Port mirroring is the duplication of traffic from a set of source ports onto a destination port. A mirror
session asso...
分类:
其他好文 时间:
2014-09-16 00:27:19
阅读次数:
258
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.IO.Ports; 6 7 namespace SerialPortExamp.....
分类:
其他好文 时间:
2014-09-15 14:07:58
阅读次数:
250
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
在.NET平台下创建C#串口通信程序,.NET 2.0提供了串口通信的功能,其命名空间是System.IO.Ports。这个新的框架不但可以访问计算机上的串口,还可以和串口设备进行通信。我们将使用标准的RS 232 C 在PC间通信。它工作在全双工模式下,而且我们不打算使用任何的握手或流控制器,而是...
分类:
其他好文 时间:
2014-09-12 14:55:43
阅读次数:
178