You are viewing a single comment's thread. Return to all comments →
Kindly review input structure in problem statement,
the printed part is correct as in the given input you have
2 ( number of tests) 5 4 (Test input #1: 5 containers and 4 queries for this test case) 1 5 (Query #1) 3 2 (Query #2) 4 1 (Query #3) 2 4 (Query #4) then 4 2 (Test input #2: 4 containers, 2 queries) 1 2 (Query #1) 4 3 (Query #2)
2 ( number of tests)
5 4 (Test input #1: 5 containers and 4 queries for this test case)
1 5 (Query #1)
3 2 (Query #2)
4 1 (Query #3)
2 4 (Query #4)
then
4 2 (Test input #2: 4 containers, 2 queries)
1 2 (Query #1)
4 3 (Query #2)
note that twoRobots() is called for each test input
Seems like cookies are disabled on this browser, please enable them to open this website
Two Robots
You are viewing a single comment's thread. Return to all comments →
Kindly review input structure in problem statement,
the printed part is correct as in the given input you have
note that twoRobots() is called for each test input