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

Автор vudduu, 15 лет назад, По-английски
Solution of the problem Problem A Life Without Zeros  (Math, Simulation, C++)
Solution of the problem Problem B Facetook Priority Wall (Strings, C++)
Solution of the problem Problem C Modified GCD (Math, C++)
Solution of the problem Problem D Big Maximum Sum (Interval Tree, DP, C++)
Разбор задач Codeforces Beta Round 67 (Div. 2)
  • Проголосовать: нравится
  • -18
  • Проголосовать: не нравится

15 лет назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится
Well, if u want to show some skills in a language, so why not to use its algorithms and features?
E.g. this is solution for C
15 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится
Got Runtime Error in Problem D, for the size of my array T (is a Interval Tree).
But, How many nodes will have? exists a function?