Which Test Case is my code failing?

Правка en1, от idonthatephy, 2022-07-11 16:24:56

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
Теги codeforces round 805, 1702e, help, dsu

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский idonthatephy 2022-07-11 16:24:56 319 Initial revision (published)