(int row, int col)
| 12 | } |
| 13 | |
| 14 | public int getValue(int row, int col) { |
| 15 | int result = arr[row][col]; |
| 16 | for(int a[]:temp) |
| 17 | { |
| 18 | if(row>=a[0] && row<=a[2] && col>=a[1] && col<=a[3]) |
| 19 | { |
| 20 | result=a[4]; |
| 21 | } |
| 22 | } |
| 23 | return result; |
| 24 | } |
| 25 | } |
| 26 | /** |
| 27 | * Your SubrectangleQueries object will be instantiated and called as such: |
no outgoing calls
no test coverage detected