Блог пользователя xennygrimmato

Автор xennygrimmato, 10 лет назад, По-английски

Problem Link — https://www.hackerrank.com/contests/csindia14-er1/challenges/fill-the-tank

Given an array of positive integers, find whether a particular sum can be made using the array elements. There were Q queries, Q<=10^5.

How is this problem supposed to be solved?

  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится

»
10 лет назад, # |
Rev. 2   Проголосовать: нравится +1 Проголосовать: не нравится

Problem Link : https://www.hackerrank.com/contests/csindia14-er1/challenges/mice-v2 Hey Can you give a rough sketch on how to approach for problem Mice v2.?

»
10 лет назад, # |
Rev. 2   Проголосовать: нравится +4 Проголосовать: не нравится

Check out the editorial for fill the tank.

»
9 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Create segment tree, then traverse it !?