摘要:
题目描述: Description This task is very simple. Given a string S of length n and q queries each query is on the format i j k which means sort the substrin 阅读全文
摘要:
题目描述: A Simple Task time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Given a simple graph 阅读全文
摘要:
题目描述: B. Shaass and Bookshetime limit per test 2 secondsmemory limit per test 256 megabytesinput standard inputoutput standard outputShaass has n book 阅读全文
摘要:
题目描述: 墨墨购买了一套N支彩色画笔(其中有些颜色可能相同),摆成一排,你需要回答墨墨的提问。墨墨会向你发布如下指令: 1、 Q L R代表询问你从第L支画笔到第R支画笔中共有几种不同颜色的画笔。 2、 R P Col 把第P支画笔替换为颜色Col。 为了满足墨墨的要求,你知道你需要干什么了吗? 阅读全文
摘要:
题目描述: Problem DescriptionAn array of positive integers a1, a2, ..., an is given. Let us consider its arbitrary subarray al, al + 1..., ar, where 1 ≤ l 阅读全文
摘要:
说明: GCC provides a large number of built-in functions other than the ones mentioned above. Some of these are for internal use in the processing of exc 阅读全文
摘要:
题目描述: D. Interesting Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputWe'll call an array of 阅读全文