QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#194419#6381. LaLa and Harvestingucup-team456#RE 1ms4096kbC++208.0kb2023-09-30 20:39:202023-09-30 20:39:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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
1 3 

result:

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

Test #2:

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

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: 4096kb

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: -100
Runtime Error

input:

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

output:


result: