Flipping Container
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
3 4 5 8 0
Sample output 1
2
Sample input 2
3 4 5 -8 9
Sample output 2
4
Sample input 3
3 4 5 123 45
Sample output 3
40
Sample input 4
20 10 30 13 37
Sample output 4
impossible
Tags
No tags yet