1 人解决,2 人已尝试。
1 份提交通过,共有 3 份提交。
9.7 EMB 奖励。
单点时限: 1.0 sec
内存限制: 256 MB
Given is
The first line of input is an integer giving the number of cases that follow. The input of each case starts with an integer
The output should contain one line for each case on input. Each line should contain one integer number giving the length of the rectilinear polygon passing throught the given points when it exists; otherwise, it should contain
1 8 1 2 1 0 2 1 2 2 3 2 3 1 4 0 4 2
12
1 人解决,2 人已尝试。
1 份提交通过,共有 3 份提交。
9.7 EMB 奖励。