Untitled
unknown
plain_text
6 months ago
400 B
0
Indexable
Never
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
Leave a Comment