Can someone tell where my code to LR Queries is failing? My solution:CodeChef: Practical coding for everyone
TEST CASE:
1
4 4
95 7 6 75
1 1 3
2 2 37
1 1 2
2 4 43
EXPECTED OUTPUT:
88
0
YOUR OUTPUT:
0
0
2 Likes
@kailashnath199 can you tell me why my solution CodeChef: Practical coding for everyone is giving WA in subtask #2 and AC in subtasks #1 and #3.
@kailashnath199 but how it i possible as subtask #2 is subset of subtask #3 so if it passes subtask #3 then it should pass subtask#2 also.