Help needed in a problem I can't figure out...

Revision en1, by Legendary_Expert, 2018-05-28 13:01:36

problem link: http://www.spoj.com/problems/FOXLINGS/en/

AC code: https://ideone.com/eLzUiU WA code: https://ideone.com/Z7d6qy

In my WA code i declared- ll node, edge, par[300005]; Same code I declared like- ll par[300005], node, edge; and got AC...

I can't figure out what's the difference between these two declaration..help please.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Legendary_Expert 2018-05-28 13:01:36 391 Initial revision (published)