QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#272749#6526. Canvasucup-team2454#WA 9ms30432kbC++202.5kb2023-12-02 19:00:382023-12-02 19:00:38

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 30240kb

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: 2ms
memory: 30432kb

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 3 7 8 11 10 9 6 5 4 2 1 12 

result:

ok Correct. (1 test case)

Test #3:

score: 0
Accepted
time: 0ms
memory: 22144kb

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 2 1 4 5 

result:

ok Correct. (1 test case)

Test #4:

score: 0
Accepted
time: 0ms
memory: 26160kb

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 3 1 2 6 5 

result:

ok Correct. (1 test case)

Test #5:

score: 0
Accepted
time: 0ms
memory: 24148kb

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
1 4 3 5 2 

result:

ok Correct. (1 test case)

Test #6:

score: 0
Accepted
time: 0ms
memory: 24172kb

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:

8
1 4 6 5 3 2 

result:

ok Correct. (1 test case)

Test #7:

score: -100
Wrong Answer
time: 9ms
memory: 30280kb

input:

2000
15 16
2 2 3 1
12 2 15 1
3 2 9 1
6 2 14 1
2 1 15 2
5 2 6 1
7 1 10 1
9 2 15 1
2 2 3 1
4 2 12 1
2 2 9 1
5 2 8 2
3 2 13 1
12 1 13 2
9 2 13 1
5 1 14 2
15 15
5 2 11 1
1 2 8 1
8 1 15 2
6 2 8 2
8 2 9 1
1 1 6 2
6 1 9 2
2 2 5 1
2 1 10 2
7 2 10 1
1 1 15 2
5 2 15 1
7 1 11 2
1 1 2 1
5 2 9 1
15 14
3 1 5 2
1 ...

output:

23
7 1 6 9 11 13 15 4 16 10 14 2 3 8 5 12 
20
14 1 6 11 12 2 3 5 13 10 9 8 15 7 4 
21
2 6 11 14 8 4 1 10 3 13 9 12 7 5 
18
7 3 4 11 13 8 12 6 10 14 9 1 5 2 
21
6 1 2 3 4 11 12 18 9 5 17 8 7 14 10 13 19 15 
21
3 2 9 11 14 6 5 13 8 4 10 7 12 1 
21
3 2 6 7 8 15 11 9 13 4 12 1 5 14 10 
19
11 1 2 3 4 7 6...

result:

wrong answer Integer parameter [name=p_i] equals to 21, violates the range [1, 19] (test case 5)