QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#190020#7231. Greedy gameLoverInTimeWA 0ms3868kbC++201.2kb2023-09-28 08:11:052023-09-28 08:11:05

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
1 2 3 4 5
2 3 4 5 6

output:

8

result:

ok single line: '8'

Test #2:

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

input:

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

output:

17

result:

ok single line: '17'

Test #3:

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

input:

15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

output:

7

result:

ok single line: '7'

Test #4:

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

input:

15
2 4 2 8 6 6 5 6 4 10 9 3 10 7 8
9 6 3 10 3 4 3 10 5 9 5 10 4 1 10

output:

60

result:

ok single line: '60'

Test #5:

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

input:

15
3 8 6 9 1 5 1 9 3 10 1 10 9 8 2
3 6 9 1 1 7 1 9 2 2 8 7 1 5 7

output:

44

result:

wrong answer 1st lines differ - expected: '47', found: '44'