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

Автор Usu, история, 9 лет назад, По-английски

Hey, I am encountering difficulties with this problem: http://codeforces.me/contest/919/problem/D from yesterday contest. This is my code commented. Can anybody tell me what is wrong with my logic? My first failed test case is #6, I count more than I should. code : http://codeforces.me/contest/919/submission/34816679

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

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

I haven't gone through all of the code yet, however your array C only has size 33.