Skip to content

Doubles Horseback Wrestling

Unrated
English

Language

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

Statement

Doubles Horseback Wrestling, page 1

Examples

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

Tags

No tags yet

Source