摘要:
题目描述: 有一个n个数的数列,并由q个询问,每一个询问有一个l和r,问你在区间a1—al和ar—an这两个区间中有多少个不同的数。题目分析: 这个题目事实上是spoj的某一题的改编,原题是求l到r区间有多少个不同的数,现在这个题是要求两个分开的区间有多少个不同的... 阅读全文
摘要:
传送门题面: D. Polycarp and Div 3time limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp... 阅读全文
摘要:
传送门题面:C. Summarize to the Power of Twotime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outp... 阅读全文
摘要:
传送门题面:D. Coins and Queriestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp h... 阅读全文
摘要:
传送门题面: E. Reachability from the Capitaltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard out... 阅读全文
摘要:
传送门题面:C. Nastya and a Wardrobetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNastya ... 阅读全文
摘要:
传送门题面: C. Bracket Sequences Concatenation Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutpu... 阅读全文
摘要:
传送门题面:C. A Mist of Florescencetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs the ... 阅读全文
摘要:
传送门题面:Yet Another Data Structure ProblemTime Limit: 5 Seconds Memory Limit: 65536 KBGiven integers . There are 3 types of operations... 阅读全文
摘要:
传送门题面:口算训练Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others)Total Submission(s): 989 Accepted Submis... 阅读全文