What is wrong with my solution?

Правка en1, от Shikharraj, 2025-02-04 17:23:32

Hello CF community,

I am stuck on problem (Cost of the Array). My solution is getting wrong answer on test case 2 and I am not sure why.

My submission : 304400545

Any counterexample for the above solution?

Thanks.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Shikharraj 2025-02-04 17:23:32 365 Initial revision (published)