题目链接:HDU - 1015=== Op tech briefing, 2002/11/02 06:42 CST ==="The item is locked in a Klein safe behind a painting in the second-floor library. Klein ...
分类:
其他好文 时间:
2015-04-18 01:01:46
阅读次数:
182
package mainimport ( "fmt" "time")func main() { requests := make(chan int, 5) for i := 1; i <= 2; i++ { requests <- i } close...
分类:
其他好文 时间:
2015-04-17 15:15:35
阅读次数:
174
Description: Write a SQL query to get the second highest salary from the Employee table.+----+--------+| Id | Salary |+----+--------+| 1 | 100 ||...
分类:
其他好文 时间:
2015-04-17 00:56:49
阅读次数:
154
Problem DescriptionOn the beaming day of 60th anniversary of NJUST, as a military college which was Second Artillery Academy of Harbin Military Engineering Institute before, queue phalanx is a special...
分类:
其他好文 时间:
2015-04-16 17:47:17
阅读次数:
181
问题
定义下面两个类的成员函数(为体验友元类,实际上本例并不一定是一个好的设计,将两个类的合并为一个DateTime,日期、时间都处理更好)
class Date; //对Date类的提前引用声明
class Time
{
public:
Time(int,int,int);
void add_a_second(Date &); //增加1秒,1秒后可能会...
分类:
其他好文 时间:
2015-04-16 14:24:34
阅读次数:
223
定义下面两个类的成员函数(为体验友元类,实际上本例并不一定是一个好的设计,将两个类的合并为一个DateTime,日期、时间都处理更好)
class Date; //对Date类的提前引用声明
class Time
{
public:
Time(int,int,int);
void add_a_second(Date &); //增加1秒,1秒后可能会到了下一天,乃到下一月、下一...
分类:
其他好文 时间:
2015-04-16 09:09:03
阅读次数:
145
问题描述:
Given a linkedlist, remove the nth node fromthe end of list and return its head.
For example,
Given linked list: 1->2->3->4->5,and
n = 2.
After removing the second node from the end...
分类:
其他好文 时间:
2015-04-15 17:20:23
阅读次数:
189
150M与300M中的M是Mbps-Million bits per second(兆位每秒)的缩写,表示数据之间交换的带宽大小,越大在单位时间传输的数据就越大。就是无线网卡最高支持的传输速度,但前提是网卡必须匹配。简单的说你用300M的无线路由器,而电脑的无线网卡是150M的那么最高的速度只能到1...
分类:
其他好文 时间:
2015-04-14 16:29:11
阅读次数:
120
Strange CountryTime Limit: 1 Second Memory Limit: 32768 KBThere are n cities in the dream country. Let's use integers from 1 to n to denote the citie....
分类:
其他好文 时间:
2015-04-14 12:54:07
阅读次数:
133
1 int Count(int first,int second,char third) 2 { 3 switch(third) 4 { 5 case '+': 6 return (first+second); 7 case '-': 8 return (first-second);...
分类:
其他好文 时间:
2015-04-13 22:26:37
阅读次数:
148