405102: GYM101793 A Sledding down the mountain
Memory Limit:256 MB
Time Limit:12 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
A. Sledding down the mountaintime limit per test12 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output
See PDF statement in attachment.
ExamplesInput1Output
0 0 0
1 -1 -1
1 1 1
0.707106781187Input
3Output
1 2 1
0 2 2
1 1 1
1 1 1
2 2 2
1 2 1
0 0 -1
1 1 1
0 2 2
1.247219128925Input
2Output
1 0 1
0 0 0
1 -1 -1
1 -1 -1
0 0 0
0 -1 1
1.837117307087