Expedition problem

My sample test case is coming fine but all the test cases are failing.

there is no need to input no of test cases as question is not asking to do so. otherwise your code is correct and passes all the test cases in spoj as well

1 Like