QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#317168#5446. 琪露诺的符卡交换znstz20 24ms4204kbC++202.6kb2024-01-28 17:00:062024-01-28 17:00:08

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 20
Accepted

Test #1:

score: 20
Accepted
time: 13ms
memory: 3988kb

input:

7
132
96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 ...

output:

8646
108 132 28 132
72 132 104 132
3 132 132 132
15 132 47 132
106 132 42 132
61 132 110 132
105 132 10 132
45 132 44 132
48 132 36 132
17 132 26 132
16 132 111 132
5 132 34 132
46 132 128 132
48 131 66 132
26 131 69 132
77 132 93 132
40 132 82 132
20 132 25 132
64 132 69 131
3 131 81 132
19 132 44 ...

result:

ok your solution is correct.

Test #2:

score: 0
Accepted
time: 3ms
memory: 3984kb

input:

8
14
13 13 13 13 13 13 13 13 13 13 13 13 13 13
7 7 7 7 7 7 7 7 7 7 7 7 7 7
8 8 8 8 8 8 8 8 8 8 8 8 8 8
14 14 14 14 14 14 14 14 14 14 14 14 14 14
5 5 5 5 5 5 5 5 5 5 5 5 5 5
4 4 4 4 4 4 4 4 4 4 4 4 4 4
1 1 1 1 1 1 1 1 1 1 1 1 1 1
10 10 10 10 10 10 10 10 10 10 10 10 10 10
2 2 2 2 2 2 2 2 2 2 2 2 2 2
9...

output:

91
14 14 6 14
7 14 10 14
9 14 14 13
10 13 3 14
12 14 11 14
8 14 1 14
4 14 10 12
2 14 9 13
10 11 12 13
9 12 7 13
10 10 14 12
2 13 6 13
11 13 10 9
13 14 10 8
5 14 13 13
9 11 5 13
6 12 11 12
3 13 7 12
8 13 2 12
7 11 1 13
7 10 13 12
9 10 6 11
9 9 12 12
8 12 3 12
8 11 5 12
9 8 11 11
5 11 11 10
12 11 2 11...

result:

ok your solution is correct.

Test #3:

score: 0
Accepted
time: 10ms
memory: 4140kb

input:

4
82
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 1...

output:

3321
28 82 44 82
34 82 76 82
25 82 68 82
1 82 3 82
70 82 76 81
47 82 8 82
27 82 60 82
3 81 18 82
36 82 2 82
37 82 16 82
70 81 41 82
59 82 30 82
38 82 78 82
70 80 8 81
4 82 51 82
73 82 17 82
4 81 60 81
10 82 17 81
82 82 47 81
3 80 29 82
51 81 34 81
29 81 5 82
17 80 59 81
35 82 54 82
78 81 55 82
39 82...

result:

ok your solution is correct.

Test #4:

score: 0
Accepted
time: 24ms
memory: 4204kb

input:

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

output:

3
3 3 1 3
3 2 2 3
2 2 1 2
3
3 3 1 3
2 3 3 2
1 2 2 2
0
55
4 11 5 11
1 11 5 10
1 10 2 11
7 11 4 10
11 11 4 9
3 11 11 10
5 9 7 10
5 8 9 11
3 10 9 10
3 9 4 8
8 11 11 9
7 9 9 9
7 8 11 8
6 11 2 10
6 10 4 7
10 11 4 6
4 5 9 8
5 7 10 10
2 9 4 4
6 9 8 10
9 7 1 9
2 8 5 6
1 8 11 7
8 9 2 7
7 7 8 8
6 8 7 6
10 9 9...

result:

ok your solution is correct.

Subtask #2:

score: 0
Time Limit Exceeded

Dependency #1:

100%
Accepted

Test #5:

score: 0
Time Limit Exceeded

input:

5
17
9 9 9 9 9 9 9 9 9 9 9 9 9 2 9 9 9
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6
2 2 2 2 2 2 2 2 2 2 2 2 11 2 2 2 2
4 4 4 4 4 4 10 4 4 4 4 4 4 4 4 4 4
10 10 10 10 10 10 8 10 10 10 10 10 10 10 10 10 10
12 12 12 12 12 12 12 12 12 12 12 12 14 12 12 12 12
14 14 14 14 14 14 14 14 14 14 14 12 14 14 14 14 14
16 16...

output:


result:


Subtask #3:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%