QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#865378#8056. Travel 2Nova_NightWind0311TL 0ms0kbC++201.3kb2025-01-21 17:18:112025-01-21 17:18:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

2
1 1
2 1
1 1
2 1
Correct
1 3
2 2
4 2
1 3
3 1
1 3
4 2
2 2
1 3
2 2
1 3

output:

> 1
> 1
> 1
! 1 2
> 1
> 2
> 1
> 2
> 1
> 3
> 2
> 1
> 1
> 1
! 1 2 1 3 1 4

result: