Can you provide a test case for which my code is failing?

Правка en1, от Kannu2k, 2024-06-18 18:37:42

Question: https://codeforces.me/contest/1702/problem/E Submission: https://codeforces.me/contest/1702/submission/266327665

So first i've checked if the frequencies of all elmenents is exactly two. Second check: If node 1 is connected to node 2 and 3. Then node 2 and 3 cannot be connected. If this is true for all nodes, return yes. Otherwise output No. Idk why this is failing.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Kannu2k 2024-06-18 18:37:42 442 Initial revision (published)