QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#189847#6381. LaLa and Harvestingucup-team864WA 0ms3952kbC++145.2kb2023-09-28 00:39:452023-09-28 00:39:47

详细

Test #1:

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

input:

6 7
1 1 1 1 1 1
0 1
1 2
2 3
2 4
1 5
1 4
0 5
1
2 5

output:

2 2
3 5 

result:

ok n=6, m=7, k=1, w=2

Test #2:

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

input:

2 1
2 5
0 1
1
0 1

output:

5 1
1 

result:

ok n=2, m=1, k=1, w=5

Test #3:

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

input:

3 3
1 1 2
1 2
0 1
0 2
1
1 2

output:

2 1
2 

result:

ok n=3, m=3, k=1, w=2

Test #4:

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

input:

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

output:

5 2
1 2 

result:

ok n=4, m=4, k=1, w=5

Test #5:

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

input:

5 5
1 2 3 4 4
0 2
1 2
2 4
0 3
0 4
1
3 4

output:

7 2
2 3 

result:

ok n=5, m=5, k=1, w=7

Test #6:

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

input:

6 6
5 1 1 3 3 4
0 3
1 3
2 3
2 4
4 5
0 5
1
4 5

output:

8 2
0 4 

result:

ok n=6, m=6, k=1, w=8

Test #7:

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

input:

7 9
4 2 1 1 2 4 4
0 3
0 5
2 3
2 6
4 5
1 3
0 4
0 1
3 6
1
5 6

output:

8 1
5 

result:

wrong answer The reported sum does not match the output set