上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 24 下一页
摘要: Problem Description The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number seque... 阅读全文
posted @ 2015-09-18 20:17 martinue 阅读(131) 评论(0) 推荐(0) 编辑
摘要: Problem Description In many applications very large integers numbers are required. Some of these applications are using keys for secure transmi... 阅读全文
posted @ 2015-09-15 19:54 martinue 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Problem Description Now you get a number N, and a M-integers set, you should find out how many integers which are small than N, that they can d... 阅读全文
posted @ 2015-09-15 19:17 martinue 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Problem Description The well-known Fibonacci sequence is defined as following: Here we regard n as the index of the Fibonacci number F(n). ... 阅读全文
posted @ 2015-09-14 20:15 martinue 阅读(421) 评论(0) 推荐(0) 编辑
摘要: Problem Description We know the Fibonacci Sequence F1=1,F2=1,F3=2,F4=3,F5=5, ... Fx = Fx-1+Fx-2 We want to know the Mth number which has K co... 阅读全文
posted @ 2015-09-10 20:19 martinue 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Problem Description In mathematics, the Fibonacci numbers are a sequence of numbers named after Leonardo of Pisa, known as Fibonacci (a contracti... 阅读全文
posted @ 2015-09-09 21:10 martinue 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Problem Description Without expecting, Angel replied quickly.She says: "I'v heard that you'r a very clever boy. So if you wanna me be your GF, yo... 阅读全文
posted @ 2015-09-08 21:41 martinue 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Problem Description 平面上有n条直线,且无三线共点,问这些直线能有多少种不同交点数。 比如,如果n=2,则可能的交点数量为0(平行)或者1(不平行)。 Input 输入数据包含多个测试实例,每个测试实例占一行,每行包含一个正整数n(n#include#inc... 阅读全文
posted @ 2015-09-07 20:59 martinue 阅读(251) 评论(0) 推荐(0) 编辑
摘要: Problem Description Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5... 阅读全文
posted @ 2015-08-30 19:20 martinue 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Problem Description 给你一个m×n的整数矩阵,在上面找一个x×y的子矩阵,使子矩阵中所有元素的和最大。 Input 输入数据的第一行为一个正整数T,表示有T组测试数据。每一组测试数据的第一行为四个正整数m,n,x,y(0#include#include#in... 阅读全文
posted @ 2015-08-30 18:41 martinue 阅读(1486) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 24 下一页