You are viewing a single comment's thread. Return to all comments →
Seens I am first post :)
I found this problem description tricky and wording could do with improvement.
The first line contains a single integer, q, denoting the number of queries. The subsequent lines describe each query in the following format:
The first line contains an integer, n, denoting the size of the list.
Each line of the subsequent lines contains a non-empty string describing ai.
change above wording to
A- first line is an int nominating the number (X) of data sets to follow.
B- 2nd line is an int, nominating the number of n lines of text to follow.
C- next n lines are text
repeat B & C X times.
obvious once spotted. :)