QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#640392#8195. Satelityucup-team34070 1ms6008kbC++231.8kb2024-10-14 11:41:292024-10-14 11:41:29

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 7
Accepted
time: 1ms
memory: 4164kb

input:

100 5340 10200
1 101
1 102
1 104
1 105
1 106
1 107
1 108
1 109
1 116
1 119
1 120
1 123
1 125
1 126
1 127
1 129
1 132
1 133
1 135
1 136
1 137
1 138
1 141
1 144
1 146
1 147
1 148
1 149
1 151
1 155
1 156
1 158
1 159
1 160
1 161
1 163
1 165
1 167
1 168
1 169
1 170
1 172
1 173
1 174
1 175
1 177
1 178
1 1...

output:

100
AAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

result:

ok correct

Test #2:

score: 7
Accepted
time: 1ms
memory: 4136kb

input:

100 658 10200
1 104
1 148
1 169
1 175
1 177
1 181
1 187
1 188
2 132
2 190
3 119
3 147
3 154
3 163
3 165
3 177
3 184
3 199
4 102
4 105
4 130
4 132
4 138
4 160
4 183
4 192
4 199
5 113
5 152
5 153
5 165
5 186
5 194
6 111
6 114
6 134
6 155
6 199
7 109
7 120
7 128
7 131
7 136
7 143
7 191
8 104
8 107
8 17...

output:

100
AAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

result:

ok correct

Test #3:

score: 7
Accepted
time: 0ms
memory: 4372kb

input:

100 9540 10200
1 101
1 102
1 103
1 104
1 105
1 106
1 107
1 108
1 109
1 110
1 111
1 112
1 113
1 114
1 115
1 116
1 117
1 118
1 119
1 120
1 121
1 122
1 123
1 124
1 125
1 126
1 127
1 128
1 129
1 131
1 132
1 133
1 134
1 135
1 136
1 137
1 138
1 139
1 140
1 141
1 142
1 143
1 144
1 145
1 146
1 147
1 148
1 1...

output:

100
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

result:

ok correct

Test #4:

score: 7
Accepted
time: 1ms
memory: 6008kb

input:

100 10000 10200
1 101
1 102
1 103
1 104
1 105
1 106
1 107
1 108
1 109
1 110
1 111
1 112
1 113
1 114
1 115
1 116
1 117
1 118
1 119
1 120
1 121
1 122
1 123
1 124
1 125
1 126
1 127
1 128
1 129
1 130
1 131
1 132
1 133
1 134
1 135
1 136
1 137
1 138
1 139
1 140
1 141
1 142
1 143
1 144
1 145
1 146
1 147
1 ...

output:

31
ABBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BABBBBBBBBBBBBBBBBBBBBBBBBBBBBB
AABBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBABBBBBBBBBBBBBBBBBBBBBBBBBBBB
ABABBBBBBBBBBBBBBBBBBBBBBBBBBBB
BAABBBBBBBBBBBBBBBBBBBBBBBBBBBB
AAABBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBABBBBBBBBBBBBBBBBBBBBBBBBBBB
ABBABBBBBBBBBBBBBBBBBBBBBBBBBBB
BABABBBBB...

result:

ok correct

Test #5:

score: 7
Accepted
time: 1ms
memory: 5988kb

input:

100 1 10200
91 111

output:

16
AAAAAAAAAAAAAAAA
AACAAAAAAAAAAAAA
AAACAAAAAAAAAAAA
AACCAAAAAAAAAAAA
AAAACAAAAAAAAAAA
AACACAAAAAAAAAAA
AAACCAAAAAAAAAAA
AACCCAAAAAAAAAAA
AAAAACAAAAAAAAAA
AACAACAAAAAAAAAA
AAACACAAAAAAAAAA
AACCACAAAAAAAAAA
AAAACCAAAAAAAAAA
AACACCAAAAAAAAAA
AAACCCAAAAAAAAAA
AACCCCAAAAAAAAAA
AAAAAACAAAAAAAAA
AACAAACA...

result:

ok correct

Test #6:

score: 7
Accepted
time: 1ms
memory: 4128kb

input:

100 6309 10200
1 101
1 102
1 103
1 104
1 105
1 106
1 107
1 108
1 109
1 110
1 111
1 112
1 113
1 114
2 101
2 102
2 103
2 104
2 105
2 106
2 107
2 108
2 109
2 110
2 111
2 112
2 113
2 114
3 101
3 102
3 103
3 104
3 105
3 106
3 107
3 108
3 109
3 110
3 111
3 112
3 113
3 114
4 101
4 102
4 103
4 104
4 105
4 1...

output:

18
CAAAAAAAAAAAAAAAAA
CAAAAAAAAACAAAAAAA
CAAAAAAAAAACAAAAAA
CAAAAAAAAACCAAAAAA
CAAAAAAAAAAACAAAAA
CAAAAAAAAACACAAAAA
CAAAAAAAAAACCAAAAA
CAAAAAAAAACCCAAAAA
AAAAAAACAAAAAAAAAA
AAAAAAACAACAAAAAAA
AAAAAAACAAACAAAAAA
AAAAAAACAACCAAAAAA
AAAAAAACAAAACAAAAA
AAAAAAACAACACAAAAA
AAAAAAACAAACCAAAAA
AAAAAAACAACC...

result:

ok correct

Test #7:

score: 7
Accepted
time: 1ms
memory: 4112kb

input:

100 5460 10200
1 166
1 167
1 168
1 169
1 170
1 171
1 172
1 173
1 174
1 175
1 176
1 177
1 178
1 179
1 180
1 181
1 182
1 183
1 184
2 166
2 167
2 168
2 169
2 170
2 171
2 172
2 173
2 174
2 175
2 176
2 177
2 178
2 179
2 180
2 181
2 182
2 183
2 184
3 166
3 167
3 168
3 169
3 170
3 171
3 172
3 173
3 174
3 1...

output:

15
AAACAAAAAAAAAAA
AAACACAAAAAAAAA
AAACAACAAAAAAAA
AAACACCAAAAAAAA
AAACAAACAAAAAAA
AAACACACAAAAAAA
AAACAACCAAAAAAA
AAACACCCAAAAAAA
AAACAAAACAAAAAA
AAACACAACAAAAAA
AAACAACACAAAAAA
AAACACCACAAAAAA
AAACAAACCAAAAAA
AAACACACCAAAAAA
AAACAACCCAAAAAA
AAACACCCCAAAAAA
AAACAAAAACAAAAA
AAACACAAACAAAAA
AAACAACAA...

result:

ok correct

Test #8:

score: 7
Accepted
time: 1ms
memory: 5964kb

input:

2 1 8
2 3

output:

2
AA
AC
BC
BB

result:

ok correct

Test #9:

score: 0
Wrong Answer
time: 0ms
memory: 3616kb

input:

2 4 8
1 3
1 4
2 3
2 4

output:

3
ABB
BAB
AAB
BBA

result:

wrong answer detected: (3, 4) are not connected

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Skipped

Dependency #1:

0%

Subtask #4:

score: 0
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

0%