|  | 
|  | 
| | Domain and name must consist only of LOWERCASE letters and dotsWhy always i get wrong answer in test#2??which is the case i didnt condiser??
 
 in the case>>
 aa@ab.c
 aa@as.a
 aa@abs.l
 
 my code return "7"
 
 Edited by author 23.10.2014 02:42
 
 Edited by author 23.10.2014 02:43
 ab@ab@ab4
 
 aa@ab.c
 aa@as.a
 aa@abs.l
 14
Hi. I'm getting WA on test 13 and I can't find my error. Can somebody get me some tricky cases?. Thanks in advance... My solution fail in the testaa@a a a@ab
  
 Edited by author 27.10.2021 06:00
my solution is very fast using trie,but unfortuntly it use 1e6*27 memory ,and it is hard to optimize I use adj list  to construct tries and get AC.. 171ms 5W+KHow to solve this problem?I use trie tree and get MLE #2!!!!!!!!!!!
 Edited by author 26.08.2012 09:02
 
 Edited by author 26.08.2012 09:02
 I use suffix array and get ACa@bc@d
 a@bce
 4
 
 
 a@b
 c@dea
 bc@de
 bc@da
 8
 
 If you use the similar method with me, that may be a trick...^^
Can someone give some tricky tests?Hello,is abc@abc@abd a valid input? And if so, is the correct output 12?
 Thanks
 anyone? no one? Yes, it is correct input.Yes, the answer to it is 12.
 | 
 | 
|