Skip to content

The Valley of Mexico

UnratedLanguage limit
English

Language

Contribute a translation
Time limit
750 ms
Memory limit
16 MB (no extra memory)
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

The Valley of Mexico

The Valley of Mexico

Examples

Sample input 1
7
9
1 4
5 1
1 7
5 6
2 3
3 4
2 6
4 6
6 7
Sample output 1
2
3
4
1
7
6
5

Tags

No tags yet

Source

This problem accepts only these languages.

C++20