QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#787846#9573. Social Mediaucup-team4991#WA 29ms31180kbC++144.0kb2024-11-27 14:54:372024-11-27 14:54:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 29804kb

input:

5
4 12 7
5 7 3 6
3 6
2 2
1 4
2 4
1 3
7 6
4 1
5 4
1 1
1 1
2 1
3 7
2 7 6
2 4
1 2
3 2
2 5
5 4
2 6
4 6
2 6
1 1 2
1
1 2
2 1 2
1 2
1 2
2 1 100
24 11
11 24

output:

9
5
1
1
1

result:

ok 5 number(s): "9 5 1 1 1"

Test #2:

score: -100
Wrong Answer
time: 29ms
memory: 31180kb

input:

10000
19 12 20
8 12 1 5 11 7 17 13 19 6 3 9 10 15 14 20 4 18 16
4 11
7 1
8 4
16 19
1 13
15 2
16 2
8 7
3 15
11 13
5 20
18 14
17 14 20
2 9 1 12 8 11 10 17 18 16 3 15 5 14 20 13 7
15 10
3 2
5 16
7 8
6 1
6 4
18 16
1 8
4 1
20 6
6 9
4 15
7 5
14 9
1 3 18
9
15 18
17 15
11 14
7 19 7
3 1 2 5 6 4 7
5 1
4 5
3 1...

output:

12
12
1
19
6
4
1
11
43
4
3
10
2
1
4
32
19
2
21
4
29
5
1
2
2
20
3
2
6
23
6
1
5
4
4
4
3
7
4
1
15
19
1
3
7
8
26
7
7
10
8
7
13
11
16
1
4
9
8
17
2
7
19
31
23
8
29
14
8
22
7
8
6
8
2
21
9
5
5
3
1
5
30
8
13
14
11
5
2
6
2
1
9
5
8
13
8
22
10
9
9
11
8
8
5
2
7
41
11
5
3
5
4
7
1
6
13
19
5
3
23
1
4
8
7
11
4
2
1
1...

result:

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