2017 Fall Waterloo Local ACM Contest, Problem A
Vera has five sticks of distinct lengths
Input
Line
Output
Print one line with one integer, the number of ways to form a triangle.
Sample Input 1
Copy
1 2 3 4 5
Sample Output 1
Copy
3
Sample Input 2
Copy
1 2 4 8 16
Sample Output 2
Copy
0
Note
For the first example, the
Comments