Hello. I'm trying to do this task: POLSKI SPOJ - Problem LCP: test your programming skills on-line

Short translate: We have T - test numbers and then in next T lines words. The task is to create...