DEBUG1

0

0 votes
Problem

Constraints 1<=p<=100, with p being any integer in the input file

Sample Input
2
3
2 0 0
0 0 2
0 2 0
3
2 0 0
0 2 2
2 2 2
Sample Output
2
10
Time Limit: 5
Memory Limit: 256
Source Limit:
Contributers:
Editor Image

?