摘要:
/*Buy TicketsTime Limit: 4000MS Memory Limit: 65536KTotal Submissions: 10207 Accepted: 4919DescriptionRailway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue…The Lunar New Year was approaching, but unluckily the Little Cat... 阅读全文
摘要:
/*2013暑期多校联合训练——80+高校,300+队伍,10000元奖金,敬请期待~ BillboardTime Limit: 20000/8000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6979 Accepted Submission(s): 3138Problem DescriptionAt the entrance to the university, there is a huge rectangular billboard of size h*w (h... 阅读全文
摘要:
/*求逆序数Minimum Inversion NumberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7097 Accepted Submission(s): 4333Problem DescriptionThe inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i ... 阅读全文