Friendly Rivalry
Unrated
English
Language
Contribute a translation- Time limit
- 2000 ms
- Memory limit
- 2048 MB (no extra memory)
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
2 0 1 1 0 1 1 0 0
Sample output 1
1.000000 1 2
Sample input 2
2 0 1 -1 -1 1 0 2 2
Sample output 2
2.236068 4 2
Sample input 3
3 0 0 1 1 2 2 3 3 4 4 5 5
Sample output 3
1.414214 1 2 3
Tags
No tags yet