Detecting Molecules
UnratedFunction
English
Language
Contribute a translation- Time limit
- 1000 ms
- Memory limit
- 2048 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
4 15 17 6 8 8 7
Sample output 1
2 2 1
Sample input 2
4 14 15 5 5 6 6
Sample output 2
0
Sample input 3
4 10 20 15 17 16 18
Sample output 3
1 3
Tags
No tags yet
Source
This problem accepts only these languages.
C++20