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

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

Hi everyone,
The ICPC Kanpur onsite regional round is ongoing from 10 AM IST to 3 PM IST. You can follow the public ranklist here

UPD1:

Congratulations to the top 3 teams!

UPD2:

We invite you to participate in ICPC Kanpur 2025 Onsite — Replay Round (Unrated), this Saturday, 27th December.

Time: 10:00 AM — 3:00 PM IST

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

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

Is the problemset public? If yes, where?

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

public problemset ??

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

Release the public problemset.

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

When will the editorial be out

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

Which problems did everyone found most interesting/toughest/tricky? Please share problemset link if available.

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

As the only blue tester, problemset is pretty interesting!!

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

Release in cf gym

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

prady is orz great tutor great cp skills !

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

In problem J — Recursion was The final formula c(i+j,j) please confirm or deny..

code url

https://pastebin.com/XBYLcpcT

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

Please turn on practice mode for this problemset on codechef or some other oj.

Currently it shows 403 not available.

Also it would be great if you publish the editorial.

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

How to solve the problem H — Prefix Game? I came up with a logic, but it gives a wrong answer. Can anyone help me correct it?

I am mainly focusing on the "gap" condition, where v[i] — v[i+1] > 1, or v[i] == v[i-1].

I treat such cases as gaps, and according to my observation, the player who encounters the first gap wins the game. Can someone explain why this logic fails or how it can be corrected?

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

    Yes, you are on right track with gaps.

    You see whenever you make a move on certain prefix $$$i$$$, you decrease the gap between $$$i$$$ and $$$(i + 1)^{th}$$$ pile.

    So, every move only changes a certain gap

    Whenever gap between two piles becomes 0, we can consider them as a single pile

    So if we transform the array of piles into array of gap between piles, Then on each move a player can only decrease a single point in the gap array. A player would need to decrease atleast 1 from a point in the gap array. The game ends when all the elements in the gap array becomes 0.

    Sounds familiar?

    The problem just got transformed into normal nim game. If you know how to solve a nim game then you would know how to solve this transformed problem as well.

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

where is the editorial ?

can anyone provide link for that ?