摘要:Color the BallTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3081Accepted Submission(s): 762Problem DescriptionThere are infinite balls in a line (numbered 1 2 3 ....), and initially all of them are paint black. Now Jim use a brush paint the balls
阅读全文
摘要:QueryTime Limit: 20000/10000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1009Accepted Submission(s): 302Problem DescriptionYou are given two strings s1[0..l1], s2[0..l2] and Q - number of queries.Your task is to answer next queries:1) 1 a i c - you should set i-th c
阅读全文
摘要:Tunnel WarfareTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2273Accepted Submission(s): 837Probl...
阅读全文
摘要:Sequence operationTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3114Accepted Submission(s): 909Problem Descriptionlxhgww got a sequence contains n characters which are all '0's or '1's.We have five operations here:Change operatio
阅读全文
摘要:HotelTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 6681Accepted: 2777DescriptionThe cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores of Lake Superior. Bessie, ever the competent travel agent, has named the Bullmoose Ho
阅读全文
摘要:Another LCISTime Limit: 1000 ms Memory Limit: 65536 kB Solved: 111 Tried: 1673 SubmitStatusBest SolutionBackDescription For a sequence S1,S2,...,SN, and a pair of integers (i, j), if 1 <= i <= j <= N and Si < Si+1 < Si+2 <...< Sj-1 < Sj, then the sequence Si,Si+1,...,Sj is a
阅读全文
摘要:LCISTime Limit: 6000/2000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1611Accepted Submission(s): 717Problem DescriptionGiven n integers.You have two operations:U A B: replace the Ath number by B. (index counting from 0)Q A B: output the length of the longest consec
阅读全文
摘要:Horizontally Visible SegmentsTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 2188Accepted: 818DescriptionThere is a number of disjoint vertical line segments in the plane. We say that two segments are horizontally visible if they can be connected by a horizontal line segment that does not h
阅读全文
摘要:Help with IntervalsTime Limit: 6000MSMemory Limit: 131072KTotal Submissions: 6278Accepted: 1391Case Time Limit: 2000MSDescriptionLogLoader, Inc. is a company specialized in providing products for analyzing logs. While Ikki is working on graduation design, he is also engaged in an internship at LogLo
阅读全文