UVa 10004 - Bicoloring

Link
http://icpcres.ecs.baylor.edu/onlinejudge/external/100/10004.htm

Summary
Determine whether a given graph is bicolorable.

Explanation
Bicolorable graphs are equivalent to bipartite graphs, and so the problem boils down to finding whether a given graph is bipartite. For more info on bipartite graphs, see here

ERFANASHORION SOLUTION
you can download it on (http://s2.picofile.com/file/7122711070/bfs_good.cpp.html) click on دریافت فایلits persian site!!! for more solution of uva or sgu send my mail your problem my email:erfanashorion@gmail.com