QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#156553#7112. XOR Cliqueucup-team1154#RE 26ms3736kbC++17975b2023-09-02 13:43:492023-09-02 14:51:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
3
1 2 3
3
1 1 1
5
1 2323 534 534 5

output:

2
3
2

result:

ok 3 number(s): "2 3 2"

Test #2:

score: 0
Accepted
time: 26ms
memory: 3712kb

input:

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

output:

6
5
6
7
6
6
3
8
6
6
4
7
6
3
4
4
4
5
3
6
4
5
4
5
5
4
3
6
6
6
4
8
5
4
5
5
6
6
4
4
4
5
4
5
5
3
5
7
5
5
4
4
5
6
6
5
7
4
4
4
4
5
4
3
6
4
4
3
4
6
3
6
4
4
4
5
5
5
4
4
6
5
4
7
4
5
4
4
4
5
4
4
4
6
5
5
5
5
5
4
7
5
4
6
5
4
4
4
4
5
4
5
6
8
4
5
4
5
9
5
4
3
4
5
5
4
5
4
4
3
5
5
4
5
5
4
5
4
5
5
4
4
3
3
4
4
5
4
8
5
...

result:

ok 10000 numbers

Test #3:

score: 0
Accepted
time: 15ms
memory: 3736kb

input:

1000
100
31 41 94 23 98 34 23 99 68 31 98 43 28 90 19 43 97 36 35 11 63 47 70 57 46 29 74 99 83 83 42 28 66 58 24 18 93 54 3 46 39 86 98 84 58 85 75 46 50 64 5 58 67 29 18 5 63 94 74 85 70 12 6 4 44 9 90 58 23 46 39 79 70 97 97 18 75 84 51 43 77 73 98 54 47 52 86 94 76 16 45 75 44 14 81 53 49 12 58 ...

output:

40
36
38
35
39
36
38
42
38
40
40
37
36
43
42
37
44
35
45
38
42
33
39
42
36
36
46
37
32
46
44
34
41
33
35
37
39
37
32
40
37
43
40
33
45
36
41
31
39
40
36
35
35
39
31
52
36
36
41
35
38
41
34
35
38
37
36
38
35
37
39
40
40
40
34
35
44
43
35
40
34
41
36
32
38
37
38
36
40
37
37
36
35
34
38
37
45
38
39
38
...

result:

ok 1000 numbers

Test #4:

score: -100
Runtime Error

input:

100
1000
903 492 790 186 953 974 661 801 790 194 464 866 442 969 548 824 611 799 83 872 85 667 353 172 526 947 368 291 474 446 437 111 808 16 329 845 714 577 904 873 65 638 181 471 600 831 996 435 572 95 695 826 74 160 778 423 89 420 967 719 331 949 347 613 793 197 135 951 876 719 952 62 309 893 551...

output:


result: