Trying to solve SPOJ-DICT Problem

Правка en2, от AFN, 2016-03-16 21:10:10

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.

Теги trie, spoj

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский AFN 2016-03-16 21:10:10 2
en1 Английский AFN 2016-03-16 21:09:39 364 Initial revision (published)