SP12749 DAP - Dynamic Assignment Problem
Description
N/A
Input Format
N
(.. . following the N×N matrix .. .)
M
(.. . following the M operation .. . .. . )
Output Format
```
...
(for each query, simply print the result. )
```