- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 ZOJ-1082-Stockbroker Grapevine(最短路径)
Stockbroker GrapevineTime Limit: 1 Second Memory Limit: 32768 KB Stockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformat
2010-03-15 00:20:00 783
原创 ZOJ-1084-Channel Allocation(DFS)
Channel AllocationTime Limit: 1 Second Memory Limit: 32768 KBWhen a radio station is broadcasting over a very large area, repeaters are used to retransmit the signal so that every r
2010-03-13 23:53:00 2145
原创 ZOJ-1285-Shipping Routes(最短路径)
Shipping RoutesTime Limit: 1 Second Memory Limit: 32768 KBThe Slow Boat to China Shipping company needs a program to help them quickly quote costs to prospective customers. The cost of
2010-03-13 21:22:00 1201
原创 ZOJ-1090-The Circumference of the Circle(计算几何,海伦公式,三角形外接圆半径公式,cout输出小数的一些问题)
The Circumference of the CircleTime Limit: 1 Second Memory Limit: 32768 KBTo calculate the circumference of a circle seems to be an easy task - provided you know its diameter. But what if
2010-03-11 23:41:00 4125
原创 取数列中前K大的数,partial_sort用法
用法如下,排出前k大的数,而k个数之后的数不排序 int n[100];partial_sort(n,n+k,n+100,cmp);
2010-03-11 14:04:00 1097
原创 cin.getline和cin合用的时候
getline有两种,一个是属于string的(getline(cin,s)),一个是属于istream的(cin.getline(s,maxsize,delim)) 当用cin输入了数据后,在接着使用cin.getline()时,需要先用cin.get()读掉回车符,否则回车符将被cin.getline读取 记录一下,免得再犯错。。
2010-03-07 18:24:00 931
原创 石头剪刀布蜥蜴史博克
最近看生活大爆炸,shelton实在太牛了,连玩石头剪刀布都是玩五种手势的。。。 剪刀剪布,布包石头,石头砸死蜥蜴,蜥蜴毒死史博克,史博克踩碎剪刀,剪刀将蜥蜴斩首,蜥蜴吃掉纸(布),纸(paper 即论文)证明史博克不存在,史博克把石头融化,石头破坏剪刀。、。。 规则真是够麻烦,不过玩起来选择更多了,虽然胜率并不变化。。因为一种手势克另外两种,却也被另外的另外两种克-_-!如图
2010-03-03 21:23:00 3073 2
MappyWin32汉化版
2008-02-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人