Need help debugging

Revision en1, by 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.

Tags #debug, #help, iamstupid

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Qualified 2020-07-21 17:23:24 404 Initial revision (published)