163673872--here is the submission Problem-1702E - Раздели на два набора General Approach- using DSU first check degree of each node
if greater than 2
ans=no
if (a==b)
ans=no
else
if size of parent of each node is even
then
ans=yes
else
ans=no
Which Test Case is my code failing?
163673872--here is the submission Problem-1702E - Раздели на два набора General Approach- using DSU first check degree of each node
if greater than 2
ans=no
if (a==b)
ans=no
else
if size of parent of each node is even
then
ans=yes
else
ans=no