SUBMERGE WA??

Revision en3, by lusho, 2017-06-22 01:01:09

Hello Codeforces! I dont know why my code is giving me WA

http://www.spoj.com/problems/SUBMERGE/

i just use the articulation point algorithm. but still giving me WA

https://ideone.com/nHXAGO

my code

UPD: I solve it just need an extra Vector in order to mark the articulation point and then count XD

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English lusho 2017-06-22 01:01:09 103
en2 English lusho 2017-06-22 00:52:34 44
en1 English lusho 2017-06-22 00:52:18 180 Initial revision (published)