actually meine kaafi try kara arraylist mei matrix ko store karvau but , har baar compilation error …mujhe bs input lene mei help chahiye …ek baar bta do kaise saari matrix store karvau???
Difficulty in taking input
for test case query=1 3 …when i am giving this query alone …then answer is correct…but when i am giving all 4 queries as in sample case …then only ans corresponding to 1 3 --query is wrong …thats why i am not able to figure out my error in code …so please check it …