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

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

I am trying to get better at cp, recently I stumbled upon a problem that I tried to solve by using topological sort but two of the test cases are failing and I can't figure out what is wrong. Please help me out. Link to problem is:https://cses.fi/problemset/task/1680 my code: https://cses.fi/paste/c8431ed4e67b8c202fc06d/

Полный текст и комментарии »

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