QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#797541#8056. Travel 2MaMengQiWA 1ms3636kbC++171.3kb2024-12-03 10:59:192024-12-03 10:59:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3636kb

input:

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

output:

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

result:

ok correct! (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3608kb

input:

1000
1 9
2 7
1 9
2 7
3 9
1 9
3 9
1 9
4 9
1 9
4 9
3 9
4 9
3 9
9 8
1 9
5 8
1 9
5 8
8 8
1 9
6 9
1 9
6 9
2 7
10 6
1 9
7 7
1 9
7 7
4 9
7 7
4 9
10 6
2 7
6 9
10 6
8 8
5 8
9 8
3 9
2 7
5 8
2 7
5 8
3 9
5 8
3 9
10 6
4 9
8 8
10 6
6 9
5 8
6 9
5 8
7 7
8 8
9 8
5 8
4 9
5 8
4 9
2 7
9 8
2 7
9 8
8 8
7 7
5 8
3 9
8 8
3 ...

output:

> 1
> 1
> 1
> 2
> 1
> 2
> 1
> 3
> 1
> 3
> 2
> 2
> 2
> 3
> 1
> 4
> 1
> 4
> 2
> 1
> 5
> 1
> 5
> 2
> 3
> 1
> 6
> 1
> 6
> 2
> 3
> 2
> 4
> 2
> 4
> 3
> 3
> 2
> 3
> 2
> 4
> 5
> 4
> 5
> 5
> 5
> 5
> 6
> 4
> 5
> 3
> 5
> 4
> 6
> 4
> 7
> 3
> 4
> 3
> 8
> 6
> 8
> 7
> 6
> 4
> 6
> 5
> 5
> 4
> 5
> 7
> 6
> 7
> 7
> 5
...

result:

wrong answer Integer parameter [name=i] equals to 9, violates the range [1, 7] (test case 1)