10 2015 档案
摘要:石子合并(一)时间限制:1000ms | 内存限制:65535KB难度:3描述有N堆石子排成一排,每堆石子有一定的数量。现要将N堆石子并成为一堆。合并的过程只能每次将相邻的两堆石子堆成一堆,每次合并花费的代价为这两堆石子的和,经过N-1次合并后成为一堆。求出总的代价最小值。输入有多组测试数据,输入到...
阅读全文
摘要:心急的C小加时间限制:1000ms | 内存限制:65535KB难度:4描述C小加有一些木棒,它们的长度和质量都已经知道,需要一个机器处理这些木棒,机器开启的时候需要耗费一个单位的时间,如果第i+1个木棒的重量和长度都大于等于第i个处理的木棒,那么将不会耗费时间,否则需要消耗一个单位的时间。因为急着...
阅读全文
摘要:整数类型最大值: short : 32766; int : 2147483646; lower_bound: 找出指向满足ai >= k 的 ai 的最小的指针;求最长单调递增序列; upper_bound: 找出指向满足ai > k 的 ai 的最小的指针;求最长单调不递减序列; upper_bo
阅读全文
摘要:skingTime Limit:1000MSMemory Limit:65536KTotal Submissions:85229Accepted:31935DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得...
阅读全文
摘要:Scientific ConferenceTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeURAL 1203DescriptionFunctioning of a scient...
阅读全文
摘要:Maximum SumTime Limit:500MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeURAL 1146DescriptionGiven a 2-dimensional array of pos...
阅读全文
摘要:K-based NumbersTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeURAL 1009DescriptionLet’s considerK-based numbers...
阅读全文
摘要:Silver Cow PartyTime Limit:2000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 3268DescriptionOne cow from each ofNfarms (1...
阅读全文
摘要:Sightseeing tripTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 1734DescriptionThere is a travel agency in A...
阅读全文
摘要:find the longest of the shortestTime Limit:5000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 1595Appoint description:Desc...
阅读全文
摘要:Laurenty and Shoptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA little boy Laurenty has been p...
阅读全文
摘要:Dima and Lisatime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDima loves representing an odd numbe...
阅读全文
摘要:Marina and Vasyatime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMarina loves strings of the same ...
阅读全文
摘要:Kolya and Tanyatime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputKolya loves putting gnomes at the ...
阅读全文
摘要:Two Substringstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given strings. Your task i...
阅读全文
摘要:GCD Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe GCD tableGof sizen × nfor an array ...
阅读全文
摘要:LCSTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 305Accepted Submission(s): 146Problem Descripti...
阅读全文
摘要:RectangleTime Limit: 1000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:Mainfrog has a piece of paper divided intonrows andmcolu...
阅读全文
摘要:Right turnTime Limit: 1000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:Mainfrog is trapped in a maze. The maze is infinitely l...
阅读全文