Mahmoud and Ehab and the bipartiteness

Problem Name:
Mahmoud and Ehab and the bipartiteness
Site:CodeForces
Links:
Tags:
Problem setters: