CHEFSSET - Editorial

@code_hard123 I too agree on that statement!

Weak test cases For the subtask 1 and subtask 2.
If someone just printed the ā€˜nā€™ i.e. no of elements in an array and he got 30 points.

Input

2

3

2 2 2

4

7 7 7 7

Output (Correct one)

0

0

but if someone printed

3

4
he got right answer,which is obviously wrong.

check here

https://www.codechef.com/viewsolution/12144650

1 Like

Can Someone Help me with thi problem.I implemented the same idea but got WA.
https://www.codechef.com/viewsolution/14289019