Untitled

Anonymous
plain_text
03/23/2024 5:01 AM
536 B
16
Indexable
Input :
First Line : T : Number of test cases
Second Line : K : Number of Blocks.
Third Line : N : Number of elements in the input array
Fourth Line : Elements of array separated by space.
Fifth Line : next test case follows 

 

Output
#Test_Case minimized_big_sum 

 

Sample Input
2
3
7
2 1 5 1 2 2 2
4
10
10 2 1 5 1 2 2 2 9 11 

 

Sample Output  

#1 6
#2 12
Editor is loading...
Leave a Comment