#2206 Problem I. Omar Loves Candies

2 s   128 MB  

Description

문제 링크 (pdf)

Sample Input

Sample Output

1
3 3
-4 -2 -1
-3 2 3
1 4 5
14

Source

2013 ACPC (Arab Collegiate Programming Contest)