QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#122543#6539. Treasure BoxZhaoZiLongWA 2ms13720kbC++176.6kb2023-07-10 18:35:582023-07-10 18:36:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 11620kb

input:

2
5 1
ABCDE
7 1 4 5 1
5 1
ABCDA
7 1 4 5 1

output:

6 5 6 6 5 
2 1 2 3 4 

result:

ok 10 numbers

Test #2:

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

input:

1
10 4
AABABBABAB
10 3 4 10 7 1 8 10 7 6

output:

10 6 2 -2 -6 -10 -6 -2 2 6 

result:

wrong answer 2nd numbers differ - expected: '14', found: '6'