QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#418527#6695. MatchingMonsterstar#WA 66ms16192kbC++171.8kb2024-05-23 14:21:582024-05-23 14:21:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
9
3 -5 5 6 7 -1 9 1 2
3
-5 -4 -3
3
1 10 100

output:

30
0
0

result:

ok 3 number(s): "30 0 0"

Test #2:

score: -100
Wrong Answer
time: 66ms
memory: 16192kb

input:

5504
9
-1 -7 -6 -5 -4 -3 5 -1 0
5
999999995 999999993 999999995 999999995 999999995
5
3 -6 -5 -4 -2
4
-8 2 3 -5
4
-2 -1 0 1
9
-4 -9 3 -1 -1 -5 2 -3 -5
7
-1 -2 1 2 3 4 3
4
-2 5 2 -4
10
2 4 1 -3 -2 4 5 -3 0 -4
6
-1 0 1 2 4 -3
5
-4 -3 -2 -1 0
4
-1 0 1 2
8
1 0 -4 -1 0 -5 -3 -5
2
5 6
8
-4 -3 -2 -1 0 1 2 ...

output:

0
0
0
0
1
1
10
0
9
3
0
3
0
0
6
9
0
0
13
0
0
7
0
25
0
11
0
6
0
0
0
9
0
15
4
3
0
0
20
0
5
0
0
0
3999999988
0
0
1999999985
0
0
0
11
0
1
0
0
6
0
3999999982
0
0
7
0
0
0
3
0
0
0
1
0
0
0
0
0
7
0
0
0
0
0
13
0
0
0
28
0
43
9
0
2
0
0
0
11
0
0
8
0
0
0
0
0
26
1999999995
8
0
0
0
7
4
0
0
0
0
0
0
3
14
0
0
7
0
0
0
0...

result:

wrong answer 1st numbers differ - expected: '4', found: '0'