sort 썸네일형 리스트형 4 Values whose Sum is 0 http://acm.pku.edu.cn/JudgeOnline/problem?id=2785 Time Limit: 15000MS Case Time Limit: 5000MS Description The SUM problem can be formulated as follows: given four lists A, B, C, D of integer values, compute how many quadruplet (a, b, c, d ) ∈ A x B x C x D are such that a + b + c + d = 0 . In the following, we assume that all lists have the same size n . Input The first line of the input file co.. 더보기 이전 1 다음