QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#310240#5446. 琪露诺的符卡交换ZhangYiDe0 20ms33156kbC++203.2kb2024-01-21 09:37:522024-01-21 09:37:52

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Runtime Error

Test #1:

score: 20
Accepted
time: 20ms
memory: 33092kb

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
1 132 2 132
1 131 3 132
1 130 4 132
1 129 5 132
1 128 6 132
1 127 7 132
1 126 8 132
1 125 9 132
1 124 10 132
1 123 11 132
1 122 12 132
1 121 13 132
1 120 14 132
1 119 15 132
1 118 16 132
1 117 17 132
1 116 18 132
1 115 19 132
1 114 20 132
1 113 21 132
1 112 22 132
1 111 23 132
1 110 24 132
1 10...

result:

ok your solution is correct.

Test #2:

score: 0
Accepted
time: 8ms
memory: 33156kb

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
1 14 2 14
1 13 3 14
1 12 4 14
1 11 5 14
1 10 6 14
1 9 7 14
1 8 8 14
1 7 9 14
1 6 10 14
1 5 11 14
1 4 12 14
1 3 13 14
1 2 14 14
2 13 3 13
2 12 4 13
2 11 5 13
2 10 6 13
2 9 7 13
2 8 8 13
2 7 9 13
2 6 10 13
2 5 11 13
2 4 12 13
2 3 13 13
2 2 14 13
3 12 4 12
3 11 5 12
3 10 6 12
3 9 7 12
3 8 8 12
3 7 9...

result:

ok your solution is correct.

Test #3:

score: 0
Accepted
time: 16ms
memory: 32956kb

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
1 82 2 82
1 81 3 82
1 80 4 82
1 79 5 82
1 78 6 82
1 77 7 82
1 76 8 82
1 75 9 82
1 74 10 82
1 73 11 82
1 72 12 82
1 71 13 82
1 70 14 82
1 69 15 82
1 68 16 82
1 67 17 82
1 66 18 82
1 65 19 82
1 64 20 82
1 63 21 82
1 62 22 82
1 61 23 82
1 60 24 82
1 59 25 82
1 58 26 82
1 57 27 82
1 56 28 82
1 55 2...

result:

ok your solution is correct.

Test #4:

score: -20
Runtime Error

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:


result:


Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Skipped

Dependency #1:

0%