摘要:
Description David the Great has just become the king of a desert country. To win the respect of his people, he decided to build channels all over his 阅读全文
摘要:
约会安排 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 2705 Accepted Submission(s): 768 Problem Des 阅读全文
摘要:
Sightseeing Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 10004 Accepted: 3523 Description Tour operator Your Personal Holiday organises 阅读全文
摘要:
E. Border time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Astronaut Natasha arrived on Ma 阅读全文
摘要:
C. Line time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A line on the plane is described 阅读全文
摘要:
Problem Description In a galaxy far, far away, there are two integer sequence a and b of length n.b is a static permutation of 1 to n. Initially a is 阅读全文
摘要:
Given a sequence of n numbers a1, a2, ..., an and a number of d-queries. A d-query is a pair (i, j) (1 ≤ i ≤ j ≤ n). For each d-query (i, j), you have 阅读全文