Input
The first line of each test case contains an integer TTdenoting the number of test cases. The description of TTtest cases follows.
The first line of each test case contains an integer nn, denoting the number of commands.
The next line contains nn space separated strings, each of which is either "start", "restart" or "stop".
Output
For each test case, output "404" if some error occurred, otherwise output "200" (without quotes).
Constraints
1≤T≤1001≤T≤100
1≤n≤101≤n≤10
Subtasks
For 30% of the score: The only commands will be "start" or "stop", i.e. no "restart" command.
Remaining 70%: No extra constraints.
Sample Input
5 2 start stop 2 restart stop 3 start restart stop 3 start stop stop 1 stop
Sample Output
200 200 200 404 404
Answers
Answered by
0
Answer:
the question is a wrong beta mark me brainliests please
Similar questions