QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#640400#8195. Satelityucup-team34070 2ms9948kbC++232.2kb2024-10-14 11:47:342024-10-14 11:47:38

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 7
Accepted
time: 2ms
memory: 6508kb

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
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAA...

result:

ok correct

Test #2:

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

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
AAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA...

result:

ok correct

Test #3:

score: 7
Accepted
time: 2ms
memory: 6560kb

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
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

result:

ok correct

Test #4:

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

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:

15
CAAAAAAAAAAAAAA
CCAAAAAAAAAAAAA
CACAAAAAAAAAAAA
CCCAAAAAAAAAAAA
CAACAAAAAAAAAAA
CCACAAAAAAAAAAA
CACCAAAAAAAAAAA
CCCCAAAAAAAAAAA
CAAACAAAAAAAAAA
CCAACAAAAAAAAAA
CACACAAAAAAAAAA
CCCACAAAAAAAAAA
CAACCAAAAAAAAAA
CCACCAAAAAAAAAA
CACCCAAAAAAAAAA
CCCCCAAAAAAAAAA
CAAAACAAAAAAAAA
CCAAACAAAAAAAAA
CACAACAAA...

result:

ok correct

Test #5:

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

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: 2ms
memory: 8564kb

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
AAAAAAAACAAAAAAAAA
AAAAAAAACACAAAAAAA
AAAAAAAACAACAAAAAA
AAAAAAAACACCAAAAAA
AAAAAAAACAAACAAAAA
AAAAAAAACACACAAAAA
AAAAAAAACAACCAAAAA
AAAAAAAACACCCAAAAA
AAAAAACAAAAAAAAAAA
AAAAAACAAACAAAAAAA
AAAAAACAAAACAAAAAA
AAAAAACAAACCAAAAAA
AAAAAACAAAAACAAAAA
AAAAAACAAACACAAAAA
AAAAAACAAAACCAAAAA
AAAAAACAAACC...

result:

ok correct

Test #7:

score: 7
Accepted
time: 2ms
memory: 8396kb

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
CAAAAAAAAAAAAAA
CAAAACAAAAAAAAA
CAAAAACAAAAAAAA
CAAAACCAAAAAAAA
CAAAAAACAAAAAAA
CAAAACACAAAAAAA
CAAAAACCAAAAAAA
CAAAACCCAAAAAAA
CAAAAAAACAAAAAA
CAAAACAACAAAAAA
CAAAAACACAAAAAA
CAAAACCACAAAAAA
CAAAAAACCAAAAAA
CAAAACACCAAAAAA
CAAAAACCCAAAAAA
CAAAACCCCAAAAAA
CAAAAAAAACAAAAA
CAAAACAAACAAAAA
CAAAAACAA...

result:

ok correct

Test #8:

score: 0
Wrong Answer
time: 1ms
memory: 6000kb

input:

2 1 8
2 3

output:

3
CCB
CBB
BBC
AAA

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%