1 / 4
Nov 2019

Maybe because it intention is to be silent and say nothing? :wink:

Maybe you should stop reading and start thinking … :wink: about what ‘say’ example input and example output?

Example in problem:
First case #:
2 2 <-- dimensions of database [matrix 2x2]
1 2
3 4
1 1 1 2 2 1 2 2 <-- queryies [1][1], [1][2], [2][1], [2][2]
Answers for queries:
1
2
3
4
#

Second case ##:
2 2 2 <-- dimensions of database [cube 2x2x2]
10 9
8 7
6 5
2 1
2 2 2 <- one query [2][2][2]
Answer:
2 [edit , my mistake, answer is 1]
##

Third case ###:
1 2 6 <-- dimensions of database [cube 1x2x6 == one matrix 2x6]
1 2 3 4 5 6
6 5 4 3 2 1
1 1 1 1 2 1 <-- two queries: [1][1][1], [1][2][1]
Answers:
1
6
###

Databases in problem, can be from 2 dimensions [matrix] to 10 dimensions data structure.

Thanks Friend. But I didn’t understand this portion :persevere::disappointed_relieved:
2 2 2 <-- dimensions of database [cube 2x2x2] let say[2*2] [2] or, [4][2] matrix
10 9
8 7
6 5
2 1 <-----------------------------------------------------------------
2 2 2 <- one query [2][2][2] then it will be [4][2]
Answer:
2 (and answer should be mat[4][2]= 1 :no_mouth::roll_eyes:]

I see, that you understand at last! :wink: , Of course, you are right answer, is 1, I make mistake. Compare it with example in problem.