QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#194507#6381. LaLa and Harvestingucup-team456#WA 1ms3928kbC++208.2kb2023-09-30 20:57:262023-09-30 20:57:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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

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
Wrong Answer
time: 0ms
memory: 3884kb

input:

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

output:

5 1
2 

result:

wrong answer The reported sum does not match the output set