ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1671. Anansi's Cobweb

For wa#25
Posted by guilty spark 7 Sep 2020 15:22
There can be multiple edges. For instance:
1 2
2 1

Using a set will give WA. Try multi-set or some other data structure in c++.

Edited by author 07.09.2020 15:22

Edited by author 07.09.2020 15:22