EeOneGuy's blog

By EeOneGuy, 10 years ago, translation, In English

ifdef MINUS70

define ACCEPTED ABCDE

endif

Full text and comments »

  • Vote: I like it
  • -21
  • Vote: I do not like it

By EeOneGuy, 10 years ago, translation, In English

Given an array of integers A and k queries. Each query will be like that: 1.Reverse an segment from l to r. 2.Output the sum of integers from l to r. N<=10^5,k<=10^4. Can this problem solved by using segment trees. How?

Full text and comments »

  • Vote: I like it
  • +13
  • Vote: I do not like it