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

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

Time: 8:08pm IST - - Solved A - Solved B - Solved C - Solved D - Couldnt think of E

-- Upsolve :

  • Idea for A was on point. Can reduce time taken from 5 minutes to 4.
  • B was easy too but didn't implement faster.
  • C was good since I tried a custom testcase before running my code, which led me to right solution so should always make my own testcases.
  • D took too long. Got confused in my own variable names and used wrong indice for array. Can be more careful, should've been done within 1 hour.
  • E no idea how to approach. Started playing Runescape lmao, didn't have long enough attention span. Maybe since I never solve till D? Need to work on this.

--- New Things to learn: — Patience - finding max element in array using C++ inbuilt function.

---- Pending :

Read and try tutorial E2 and F

EDIT 1: Solved and understood E1 very easy greedy solution. Should've spent more time!

Cheers.

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

»
6 лет назад, скрыть # |
 
Проголосовать: нравится +28 Проголосовать: не нравится

good for you but i don't care