my code
https://ide.codingblocks.com/#/s/32851
my second attempt:
https://ide.codingblocks.com/#/s/32857
why 2 test cases not passed
question link:
https://hack.codingblocks.com/contests/c/509/217
my code
https://ide.codingblocks.com/#/s/32851
my second attempt:
https://ide.codingblocks.com/#/s/32857
why 2 test cases not passed
question link:
https://hack.codingblocks.com/contests/c/509/217
INPUT:
3
9 9 9
6
9 9 9 9 9 9
check this case. Your code is not producing any output for this case.