QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#270099#862. Social Justiceucup-team864#WA 1ms5520kbC++231.7kb2023-11-30 15:18:502023-11-30 15:18:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
4
1 2 3 4
3 2
5
1 15 2 5 1
2 1
5
1 2 3 1000 10000
4 3

output:

0

1
2 
2
4 5 

result:

ok 6 numbers

Test #2:

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

input:

1000
1
10
3 2
2
10 100
3 2
3
10 10 100
3 2
4
1 2 3 4
3 2
5
1 15 2 5 1
2 1
5
1 2 3 1000 10000
4 3
6
1 2 3 4 1000 10000
4 3
5
50000 2 1 1 5000
2 1
10
1 15 2 5 1 10000 1 1 1 1
2 1
20
1 15 2 5 1 10000 1 1 1 1 1 15 2 5 1 10000 1 1 1 1
2 1
25
1 15 2 5 1 10000 1 1 1 1 1 15 2 5 1 10000 1 1 1 1 1 15 2 5 1
2 ...

output:

0

0

1
3 
0

1
2 
2
4 5 
3
1 5 6 
2
2 4 
3
4 5 6 
6
2 3 4 5 6 20 
8
1 2 4 10 12 16 20 22 
13
1 2 3 4 5 6 7 8 9 10 11 12 20 
15
1 2 3 4 5 6 7 8 9 10 11 12 18 19 20 
0

1
18 
1
2 
1
17 
5
1 4 6 18 20 
0

2
5 18 
1
12 
5
6 9 11 19 20 
2
6 7 
0

1
10 
1
1 
5
6 8 9 11 13 
2
1 11 
0

10
2 3 4 7 8 9 10 12...

result:

wrong answer 16th numbers differ - expected: '1', found: '2'