ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 2139. Experiment with Juice

Useful tests
Posted by Yury_Semenov 10 Feb 2021 19:43
test:
4
0 0
2 0
2 2
0 2
1 2
1
360

ans:
4
0

test:
4
0 0
2 0
2 2
0 2
2 1.5
3
180
-180
-180

ans:
3
1
1
0