Need help debugging

Правка en1, от Qualified, 2020-07-21 17:23:24

I am trying to do this 515B - Drazil и его счастливые друзья, and I wrote 87470945. It got WA. I am debugging for many hours and still cannot find the bug. My idea was to simply simulate each time the friends meet. If one of the friends are happy, then both are happy. I kept 2 vector of bools, one for boys and one for girls. In the end, I checked if all of the friends were happy. Please help.

Теги #debug, #help, iamstupid

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Qualified 2020-07-21 17:23:24 404 Initial revision (published)