Trying to solve a SPOJ-DICT Problem

Revision en1, by AFN, 2016-03-16 21:09:39

Hi Codeforces community. I recently learned the trie algorithm and I'm trying to solve DICT problem form SPOJ. http://www.spoj.com/problems/DICT/ I'm getting WA for an unknown reason. Here is a link to my code. http://ideone.com/FxUaVp Any help appreciated.

Tags trie, spoj

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English AFN 2016-03-16 21:10:10 2
en1 English AFN 2016-03-16 21:09:39 364 Initial revision (published)