越野跑描述 Description为了能在下一次跑步比赛中有好的发挥,贝茜在一条山路上开始了她的训练。贝茜希望能在每次训练中跑得尽可能远,不过她也知道农场中的一条规定:奶牛独自进山的时间不得超过M秒(1 using namespace std;int main(){ int m,t,u,f,d...
分类:
其他好文 时间:
2014-06-15 21:37:45
阅读次数:
199
题目链接:
http://poj.org/problem?id=3411
题目:
Paid Roads
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 5080
Accepted: 1784
Description
A network of m r...
分类:
其他好文 时间:
2014-06-15 13:25:24
阅读次数:
179
Description:Implement pow(x, n)大意:实现pow(x, n),即通常所说的x的n次方。分析:真是一道很考验人的题目,看似简单,其实有非常多的细节要注意:1)由于x及返回值都是浮点数(double),那么许多自定义的变量、返回值都尽量使用#.0f的方式定义与实现,显得正式...
分类:
其他好文 时间:
2014-06-15 07:56:03
阅读次数:
213
完成的效果图:服务器端代码:using System;using System.Collections.Generic;using System.Linq;using System.ServiceModel;using System.ServiceModel.Description;using Sy...
分类:
其他好文 时间:
2014-06-15 06:54:24
阅读次数:
287
Subsets Description:Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solu...
分类:
其他好文 时间:
2014-06-14 20:14:56
阅读次数:
267
3083: 遥远的国度Time Limit: 10 SecMemory Limit: 128 MBSubmit: 797Solved: 181[Submit][Status]Description描述zcwwzdjn在追杀十分sb的zhx,而zhx逃入了一个遥远的国度。当zcwwzdjn准备进入遥远...
分类:
其他好文 时间:
2014-06-14 19:51:23
阅读次数:
269
Blue Jeans
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 11542
Accepted: 4962
Description
The Genographic Project is a research partnership between IBM a...
分类:
其他好文 时间:
2014-06-14 17:48:12
阅读次数:
244
2005: [Noi2010]能量采集Time Limit: 10 SecMemory Limit: 552 MBSubmit: 1493Solved: 885[Submit][Status]Description栋栋有一块长方形的地,他在地上种了一种能量植物,这种植物可以采集太阳光的能量。在这些植...
分类:
其他好文 时间:
2014-06-14 13:02:46
阅读次数:
248
Problem Description
give you a string, please output the result of the following function mod 1000000007
n is the length of the string
f() is the function of fibonacci, f(0) = 0, f(1) = 1...
a...
分类:
其他好文 时间:
2014-06-14 11:45:49
阅读次数:
243
===6.3.2使用string对象===
string word="I love China"
*链接字符串*
string description=adjective + " " + word;
_Note_: 不能连接两个字符串字面量,下面的语句是错误的
string test= "I have" + "a dream";
===6.3.3访问字符串中的字符...
分类:
编程语言 时间:
2014-06-13 21:39:55
阅读次数:
367