码迷,mamicode.com
首页 >  
搜索关键字:second    ( 4709个结果
URAL1795. Husband in a Shop(模拟,首次探访俄罗斯的oj)
1795. Husband in a Shop Time limit: 1.0 second Memory limit: 64 MB Mark comes home after a day of hard work. His wife, instead of feeding him, sends him to buy some bread. When Mark comes t...
分类:其他好文   时间:2015-04-20 09:28:45    阅读次数:127
Codeforces534B:Covered Path
The on-board computer on Polycarp's car measured that the car speed at the beginning of some section of the path equals v1 meters per second, and in the end it is v2 meters per second. We know tha...
分类:其他好文   时间:2015-04-18 20:38:35    阅读次数:137
uva_10740_Not the best(第k短路)
Problem A Not the Best Input: standard input Output: standard output Time Limit: 1 second   Abul is not the best student in his class; neither is he the best player in his team. Not that he is b...
分类:其他好文   时间:2015-04-18 16:11:11    阅读次数:159
设计模式
first:推荐看Terry的设计模式的blog,真的很精彩,通俗易懂。second:首先拿出当时我老师教我设计模式时给的资料里面的一段话:比较形象的,通俗讲解设计模式的一段话:“在朋友聚会上碰到了一个美女Sarah,从香港来的,可我不会说粤语,她不会说普通话,只好求助于我的朋友kent了,他作为我...
分类:其他好文   时间:2015-04-18 15:54:04    阅读次数:141
hdu 1015 Safecracker 水题一枚
题目链接: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    阅读次数:158
golang 速度限制,time.Tick(time.Second*2) channel,隔2秒后继续执行
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    阅读次数:151
LeetCode - Second Highest Salary
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    阅读次数:129
hdu4758---Walk Through Squares(AC自动机+dp)
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    阅读次数:169
第六周 项目五-友元类
问题   定义下面两个类的成员函数(为体验友元类,实际上本例并不一定是一个好的设计,将两个类的合并为一个DateTime,日期、时间都处理更好) class Date; //对Date类的提前引用声明 class Time { public: Time(int,int,int); void add_a_second(Date &); //增加1秒,1秒后可能会...
分类:其他好文   时间:2015-04-16 14:24:34    阅读次数:204
第六周项目五——友元类
定义下面两个类的成员函数(为体验友元类,实际上本例并不一定是一个好的设计,将两个类的合并为一个DateTime,日期、时间都处理更好) class Date; //对Date类的提前引用声明 class Time { public: Time(int,int,int); void add_a_second(Date &); //增加1秒,1秒后可能会到了下一天,乃到下一月、下一...
分类:其他好文   时间:2015-04-16 09:09:03    阅读次数:134
© 2014 mamicode.com 版权所有 京ICP备13008772号-2
迷上了代码!