Skip to content

Roller Coaster Railroad

UnratedFunction
English

Language

Contribute a translation
Time limit
2000 ms
Memory limit
2048 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

Roller Coaster Railroad: original English statement, page 1

Roller Coaster Railroad: original English statement, page 2

Examples

Sample input 1
4
1 7
4 3
5 8
6 6
Sample output 1
3

Tags

No tags yet

Source

This problem accepts only these languages.

C++20