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

Автор _Aditya_Jain_, 13 месяцев назад, По-английски

Poster
We hope you enjoyed the problems in both part 1 and 2 of the contest! You can find the editorials for the problems below:

Rate the contest!

Paper 1, Problem B (Stat Expo)

Tutorial
Rate the problem

Paper 1, Problem C (Increase & Decrease)

Tutorial
Rate the problem

Paper 1, Problem D (Trader my Brother)

Tutorial
Rate the problem

Paper 1, Problem E (Unique Matrix)

Tutorial
Rate the problem

Paper 2, Problem B (Quantbulbs Fused)

Tutorial
Code (Python)
Rate the problem

Paper 2, Problem C (What the Flip?!)

Tutorial
Code (Python)
Rate the problem

Paper 2, Problem D (Alien Planet)

Tutorial
Code (Python)
Rate the problem

Paper 2, Problem E (Our Random Jump)

Tutorial
Code (Python)
Rate the problem

Paper 2, Problem F (Mysterious Algorithm)

Tutorial
Code (Python)
Rate the problem
  • Проголосовать: нравится
  • +69
  • Проголосовать: не нравится

»
13 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится +19 Проголосовать: не нравится

Paper 2 C can be done even more simply,We assume T(x) as number of ways to get a string of lenght n with T at x position, and similary we define S(x), then S(x) will be T(x-1) and T(x) will simply be number of ways of placing s on x-1 and x-2, meaning T(x) = S(x-1) + S(x-2).

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

Can you open these problems to be viewed by all?

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

Problem B of Paper 2 simply turns out to be the Harmonic number of x. The given recurrence after some manipulation becomes x(E(x)-1) = (x-1)(E(x-1)-1) + E(x-1), which turns out to : E(x) = E(x-1) + 1/x : The harmonic sum!