QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#110854#6526. CanvasZhaoZiLongWA 8ms38840kbC++203.5kb2023-06-04 10:47:222023-06-04 10:47:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 7ms
memory: 38804kb

input:

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

output:

7
4 2 1 3 5
2 1 

result:

ok Correct. (2 test cases)

Test #2:

score: 0
Accepted
time: 7ms
memory: 38816kb

input:

1
10 13
1 1 2 2
2 1 3 2
1 2 3 1
3 1 4 2
4 1 5 2
5 1 6 2
4 2 6 1
7 1 8 2
8 1 9 2
7 2 9 1
5 2 9 1
8 2 10 2
1 1 10 1

output:

19
13 7 6 5 11 8 10 9 4 2 1 3 12 

result:

ok Correct. (1 test case)

Test #3:

score: 0
Accepted
time: 4ms
memory: 38820kb

input:

1
7 5
2 1 6 2
1 2 6 1
1 1 5 1
2 2 7 1
1 1 7 2

output:

8
3 1 4 5 2 

result:

ok Correct. (1 test case)

Test #4:

score: 0
Accepted
time: 5ms
memory: 38816kb

input:

1
7 6
2 1 7 2
2 1 4 2
1 2 4 1
2 1 6 1
1 1 6 2
2 2 6 1

output:

9
4 1 2 6 5 3 

result:

ok Correct. (1 test case)

Test #5:

score: 0
Accepted
time: 4ms
memory: 38840kb

input:

1
7 5
5 2 7 1
5 1 6 2
3 2 7 1
3 2 6 1
6 1 7 2

output:

7
3 4 5 2 1 

result:

ok Correct. (1 test case)

Test #6:

score: -100
Wrong Answer
time: 8ms
memory: 38796kb

input:

1
7 6
1 2 5 1
2 1 7 2
1 2 7 1
2 2 7 1
1 1 5 2
1 2 3 1

output:

7
5 1 6 3 2 4 

result:

wrong answer Jury has better answer. Participant 7, jury 8 (test case 1)