QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#162612#7112. XOR Cliqueucup-team999TL 1ms3680kbC++171.3kb2023-09-03 15:06:512023-09-03 15:06:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: -100
Time Limit Exceeded

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: