Wa in spoj program http://www.spoj.com/problems/BUGLIFE/

i have no clue why i am getting WA.

my solution : AZHX6R - Online C++ Compiler & Debugging Tool - Ideone.com

this is ur AC soln…relationships are not unidirectional…:slight_smile: LINK

thanks a lot. :smiley:

1 Like

glad could help…:slight_smile: