QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#401008#2823. 改善生活ucup-team1383WA 1ms3820kbC++171.4kb2024-04-27 20:48:232024-04-27 20:48:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

7 8
2 2 1 1 3 3 4
100 100 40 20 100 50 40
1 3
2 3
1 4
2 4
3 5
4 6
3 7
4 7

output:

2

result:

ok single line: '2'

Test #2:

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

input:

15 36
1 1 1 1 1 1 1 3 3 4 5 5 6 4 2
1 5 4 16 1 16 9 98 84 69 4 95 53 99 64
1 8
2 8
3 8
4 8
5 8
6 8
7 8
8 9
8 11
9 8
9 10
9 11
9 12
9 14
10 8
10 11
10 12
11 8
11 9
11 10
11 12
11 14
12 13
12 14
13 8
13 9
13 10
13 12
13 14
13 15
14 10
14 13
14 15
15 9
15 11
15 13

output:

98

result:

wrong answer 1st lines differ - expected: '182', found: '98'