You are viewing a single comment's thread. Return to all comments →
am i wrong to say that the sample answers are incorrect? seems 0,1 and 1,3 should access 1 and 8 respectively rather than 5 and 9. Sample Input
2 2 3 1 5 4 5 1 2 8 9 3 0 1 1 3 Sample Output
5 9
Seems like cookies are disabled on this browser, please enable them to open this website
Variable Sized Arrays
You are viewing a single comment's thread. Return to all comments →
am i wrong to say that the sample answers are incorrect? seems 0,1 and 1,3 should access 1 and 8 respectively rather than 5 and 9. Sample Input
2 2 3 1 5 4 5 1 2 8 9 3 0 1 1 3 Sample Output
5 9