QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#274229#7600. Minimums on the EdgesZhangYiDeWA 2ms3568kbC++171.2kb2023-12-03 13:12:212023-12-03 13:12:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 4 6
1 2
2 3
3 1
1 4

output:

2 2 2 0 

result:

ok answer = 6

Test #2:

score: 0
Accepted
time: 1ms
memory: 3448kb

input:

3 7 7
1 2
1 2
1 2
1 3
1 3
2 3
2 3

output:

3 2 2 

result:

ok answer = 14

Test #3:

score: 0
Accepted
time: 1ms
memory: 3348kb

input:

5 10 61
5 3
1 2
4 5
2 3
2 1
3 1
1 5
3 5
2 4
2 1

output:

13 13 13 9 13 

result:

ok answer = 122

Test #4:

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

input:

5 10 6
1 4
3 4
4 3
1 4
5 1
4 3
3 2
1 3
5 2
2 3

output:

2 0 2 2 0 

result:

ok answer = 12

Test #5:

score: 0
Accepted
time: 2ms
memory: 3452kb

input:

5 10 85
3 1
4 5
4 1
4 5
1 5
2 3
4 5
1 4
3 2
2 3

output:

17 17 17 17 17 

result:

ok answer = 170

Test #6:

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

input:

5 10 30
2 5
2 4
4 5
4 3
5 1
4 3
2 3
1 5
1 4
2 1

output:

6 6 6 6 6 

result:

ok answer = 60

Test #7:

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

input:

5 10 77
1 3
4 1
4 3
5 2
5 2
2 5
2 3
3 4
5 3
5 2

output:

13 16 16 16 16 

result:

ok answer = 154

Test #8:

score: -100
Wrong Answer
time: 1ms
memory: 3356kb

input:

10 10000 4
5 3
6 1
7 8
2 10
3 6
7 5
6 8
1 5
6 5
10 8
1 9
4 5
2 10
8 10
8 6
6 4
3 4
7 9
1 3
10 7
1 10
4 10
1 10
7 6
3 7
10 5
3 7
1 6
1 9
4 5
8 9
5 9
9 5
6 2
8 10
4 3
3 5
6 8
6 10
5 2
9 6
7 8
8 5
4 10
6 2
1 4
4 2
3 2
1 4
8 1
5 2
1 7
1 5
1 2
6 2
5 6
6 9
1 6
10 5
4 1
4 10
7 2
3 5
3 10
5 2
4 8
2 4
10 1
5...

output:

0 0 0 0 1 1 0 1 0 1 

result:

wrong answer jury has the better answer: jans = 1415, pans = 1408