Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

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

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

Hello, is there any way i can get test case 10 for task 629C?

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

»
8 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

no, you can't, i get WA on test case 10 too. I found bug in my code with for loop, but i can't understand the bug. 16249539

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

Some of the output you are generating contains a negative prefix. This test case has something to with counting answers where a prefix with more closing than opening brackets exist.

I commented the part that handles this in my code and it wrongs on test 10, maybe a coincidence?