F - Four Values whose Sum is Cero

Languages: C, C++, Java, Python, Kotlin
Time & Memory limits: (details)

Input

Output

Sample test(s)

Input
6 -45 22 42 -16 -41 -27 56 30 -36 53 -37 77 -36 30 -75 -46 26 -38 -10 62 -32 -54 -6 45
--- Showing first 30 lines (click "Copy" to get full content) ---
Output
5
--- Showing first 30 lines (click "Copy" to get full content) ---

Notes