[BOJ 14929] 귀찮아 (SIB)
View as PDF
Submit solution
Assembly, Awk, C, C++, Java, Pascal, Perl, Python, Sed, Text
Points:
2
Time limit:
2.0s
Memory limit:
512M
Problem types
Allowed languages
[\sum_{1 \le a < b \le n}{x_ax_b}]
입력 형식
n과 xi가 주어짇나. n은 10만 이하ㅇ고, xi는 젗ㄹ댓값이 100이하인 정수디이다.
출력 형식
위에서 구하란 걸 구하면 된ㄷ.
예제 입력
3
1 -2 3
예제 출력
-5
Comments