Computer Science, asked by patilvidya7022, 5 hours ago

Input Format
• First line: T denoting the number of test cases
• For each test case:
• First line: N and M denoting the number of rows and columns.
• Next N lines follow, the i-th line contains Mintegers Ai,1,A1,2, ..., Ai,m.
Constraints
• 1 <=T<= 10
• 1 <=N, M <= 50
• 0 <= Ai,j <= 10^6
Output Format
For each test case, print the minimum cost in a single line.k​

Answers

Answered by michaelgari032
1

Answer:

Can you please give the proper sample testcases and output

Explanation:

Similar questions