上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 223 下一页
摘要: time limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBerland amusement park shooting gallery is right... 阅读全文
posted @ 2017-10-06 19:23 AWCXV 阅读(314) 评论(0) 推荐(0)
摘要: time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday Sonya learned about long integers and invit... 阅读全文
posted @ 2017-10-06 19:23 AWCXV 阅读(149) 评论(0) 推荐(0)
摘要: time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday, hedgehog Filya went to school for the very... 阅读全文
posted @ 2017-10-06 19:23 AWCXV 阅读(118) 评论(0) 推荐(0)
摘要: Time Limit: 1 secondMemory Limit: 128 MB【问题描述】广义的斐波那契数列是指形如an=p*an-1+q*an-2的数列。今给定数列的两系数p和q,以及数列的最前两项a1和a2,另给出两个整数n和m,试求数列的第n项an除以m的余数。【输入格式】输入包含一行6个整... 阅读全文
posted @ 2017-10-06 19:23 AWCXV 阅读(278) 评论(0) 推荐(0)
摘要: DescriptionVasiliy is fond of solving different tasks. Today he found one he wasn't able to solve himself, so he asks you to help.Vasiliy is given n s... 阅读全文
posted @ 2017-10-06 19:23 AWCXV 阅读(172) 评论(0) 推荐(0)
摘要: DescriptionPeter has a sequence and he define a function on the sequence -- , where is the length of the longest increasing subsequence ending with ... 阅读全文
posted @ 2017-10-06 19:23 AWCXV 阅读(163) 评论(0) 推荐(0)
摘要: Time Limit: 1 secondMemory Limit: 128 MB【问题描述】任何一个整数N都能表示成另外两个整数a和b的平方差吗?如果能,那么这个数N就叫做Couple number。你的工作就是判断一个数N是不是Couple number。【输入格式】仅一行,两个长整型范围内的整数... 阅读全文
posted @ 2017-10-06 19:23 AWCXV 阅读(178) 评论(0) 推荐(0)
摘要: 【问题描述】一个不同的值的升序排序数列指的是一个从左到右元素依次增大的序列,例如,一个有序的数列A,B,C,D 表示A#include int n, m, ru[27],dl[10000],head,tail,w[27][27];int main(){ memset(ru, 255, sizeof(... 阅读全文
posted @ 2017-10-06 19:23 AWCXV 阅读(248) 评论(0) 推荐(0)
摘要: Time Limit: 1 secondMemory Limit: 128 MB【问题描述】 在一个神奇的小镇上有着一个特别的电车网络,它由一些路口和轨道组成,每个路口都连接着若干个轨道,每个轨道都通向一个路口(不排除有的观光轨道转一圈后返回路口的可能)。在每个路口,都有一个开关决定着出去的轨道,... 阅读全文
posted @ 2017-10-06 19:23 AWCXV 阅读(194) 评论(0) 推荐(0)
摘要: Time Limit: 1 secondMemory Limit: 128 MB【问题描述】在电视时代,没有多少人观看戏剧表演。Malidinesia古董喜剧演员意识到这一事实,他们想宣传剧院,尤其是古色古香的喜剧片。他们已经打印请帖和所有必要的信息和计划。许多学生被雇来分发这些请柬。每个学生志愿者... 阅读全文
posted @ 2017-10-06 19:23 AWCXV 阅读(135) 评论(0) 推荐(0)
上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 223 下一页