SP13630 BAT1 - BATMAN1
Description
" Lucius Fox: This conversation used to end with an unusual request.
Input Format
t , number of testcases
integers n m k,
n: no of batches , m: no of weaponaries per batch , k : Money wayne can spend on weaponaries
n intergers giving cost of opening the ith batch
n\*m numbers denoting cost of jth object from ith batch
n\*m numbers denoting the rating oj jth object from ith batch
Output Format
The maximum power rating Wayne could afford
**Constraints :**
1