QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#304102#5011. Course Selectionezteam1#WA 0ms6808kbC++141.7kb2024-01-13 14:20:462024-01-13 14:20:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6 3
1
2
3
1
1
1
1 2 3 4 5
1 2 3 4 5
1 2 3 4 6

output:

9
3 
2 3 5 
1 2 3 4 6 

result:

ok All good..

Test #2:

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

input:

1000 10000
8
8
1
1
1
2
7
7
8
4
3
7
9
3
7
7
7
7
6
7
10
2
3
6
6
8
4
7
1
4
7
6
1
5
4
2
8
10
5
10
9
2
5
1
5
10
8
9
4
5
5
3
10
1
3
8
10
1
1
10
6
2
8
4
6
2
1
10
6
2
9
7
9
6
10
3
8
6
8
8
2
1
1
5
3
10
1
8
9
9
5
1
4
5
3
5
8
5
5
10
10
4
5
4
10
5
10
9
6
4
1
2
4
1
5
10
7
6
3
3
4
5
9
4
9
10
3
8
10
4
9
2
8
3
5
6
...

output:

0

result:

wrong answer The maximum sum is wrong: expected = 5550, found = 0