Toggle navigation
NTHU Online Judge
Contest
Problem
Submit
Status
Login
Register
1208 - PC - Ant
Status
|
Limits
Submit
×
Close
Limits
Time
Memory
Case 1
5 sec
64 MB
Description
Input
Output
Sample Input
Download
2 3 -2 1 2 1 0 1 4 0 3 -2 2 -4 3 1 4
Sample Output
Download
2 4 Hint: Figure for the first sample input: Figure for the second sample input: Green point is ant's nest, black circles are the traits the other ant's walked, and the red curve is the trait that William walked.
Tags
Discuss