QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#319607#7854. 这不是一道数据结构题locsey40 5ms24616kbC++142.2kb2024-02-02 21:09:152024-02-02 21:09:16

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 5
Accepted
time: 0ms
memory: 23380kb

input:

7 9
1 2
2 3
3 4
1 5
2 5
2 6
5 6
5 7
6 7

output:

56

result:

ok single line: '56'

Test #2:

score: -5
Wrong Answer
time: 0ms
memory: 24332kb

input:

10 14
10 9
4 1
7 10
3 5
9 6
1 7
8 5
2 7
8 6
4 10
9 3
8 7
4 5
7 3

output:

40

result:

wrong answer 1st lines differ - expected: '0', found: '40'

Subtask #2:

score: 0
Runtime Error

Test #5:

score: 0
Runtime Error

input:

200000 199999
76849 117660
190775 11517
36929 136177
161792 186900
165326 184615
74197 120051
7891 83240
121896 35204
83314 195652
104144 158348
71191 182187
122824 50031
108950 179173
165120 190230
156949 181392
171984 82834
96017 30143
58114 108979
38698 90371
185399 171751
139913 99465
71566 1324...

output:


result:


Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 20
Accepted

Test #13:

score: 20
Accepted
time: 0ms
memory: 22772kb

input:

300 305
289 290
34 35
111 140
90 93
233 240
110 271
116 117
12 21
141 142
53 57
21 85
99 102
34 42
183 184
240 264
252 253
223 224
159 160
126 131
112 113
28 33
50 52
204 208
185 188
46 50
262 264
197 199
111 136
259 261
290 294
49 50
263 264
210 212
291 294
203 208
184 185
120 121
111 131
210 240
2...

output:

482487615

result:

ok single line: '482487615'

Test #14:

score: 0
Accepted
time: 0ms
memory: 24380kb

input:

300 320
233 237
208 217
90 92
277 278
226 246
79 80
37 40
1 9
190 191
213 214
94 96
231 232
162 163
9 10
226 227
172 173
168 169
131 135
158 159
133 134
59 60
61 102
52 57
161 180
172 174
84 86
207 208
54 55
9 16
118 119
122 123
166 170
212 215
38 39
264 266
180 196
65 69
287 288
22 23
24 28
201 202...

output:

821115099

result:

ok single line: '821115099'

Test #15:

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

input:

300 350
104 106
257 259
216 298
250 251
147 148
217 218
220 267
284 285
249 250
232 233
145 209
257 258
283 287
232 238
255 256
206 207
189 190
23 25
48 51
75 115
187 193
14 18
90 94
81 82
45 48
90 91
42 44
51 54
154 155
174 175
60 62
82 85
99 100
160 161
216 217
200 202
226 231
255 257
252 253
36 3...

output:

427803536

result:

ok single line: '427803536'

Test #16:

score: 0
Accepted
time: 0ms
memory: 23108kb

input:

300 400
59 60
221 225
12 29
77 79
192 197
85 87
79 80
121 122
197 199
66 67
229 231
23 24
35 46
191 201
233 235
211 212
7 8
209 210
175 176
60 61
152 156
211 213
205 206
285 286
73 74
43 44
138 141
290 291
254 259
115 116
214 216
105 106
81 84
25 28
151 165
135 141
206 214
77 78
185 186
200 201
3 12...

output:

887964015

result:

ok single line: '887964015'

Test #17:

score: 0
Accepted
time: 0ms
memory: 23440kb

input:

300 500
161 164
45 46
199 201
87 88
44 50
216 218
65 68
209 225
96 97
111 113
293 294
262 263
91 92
76 77
31 38
235 267
292 294
109 111
65 67
186 188
18 19
2 3
9 10
255 256
7 8
61 63
261 267
250 252
91 97
1 8
183 229
267 268
79 80
274 275
140 141
133 277
166 168
254 255
240 245
46 47
59 63
250 251
1...

output:

217536838

result:

ok single line: '217536838'

Subtask #5:

score: 20
Accepted

Test #18:

score: 20
Accepted
time: 4ms
memory: 23448kb

input:

300 500
279 256
263 65
40 62
236 256
8 193
164 235
242 256
27 219
72 244
49 253
289 261
162 113
196 199
121 222
293 245
33 186
206 279
111 139
97 15
203 24
245 157
184 59
188 90
239 283
42 5
107 108
267 51
200 126
286 282
293 59
42 261
276 216
152 6
92 220
225 69
88 166
179 109
158 144
133 18
147 18...

output:

159215763

result:

ok single line: '159215763'

Test #19:

score: 0
Accepted
time: 5ms
memory: 23532kb

input:

300 400
266 230
93 211
207 79
137 173
3 72
277 182
143 250
297 136
285 26
11 98
188 257
271 65
298 259
58 109
193 227
180 195
137 56
104 285
39 9
166 33
41 188
72 243
25 80
81 268
190 158
76 90
191 266
1 145
119 138
241 7
179 103
275 108
144 235
164 248
146 64
69 285
288 200
90 51
5 163
116 255
280 ...

output:

910719722

result:

ok single line: '910719722'

Test #20:

score: 0
Accepted
time: 2ms
memory: 23096kb

input:

300 360
103 272
29 124
224 18
197 163
237 39
40 192
267 288
137 181
42 80
300 148
293 181
150 256
99 274
169 254
97 107
239 154
121 282
254 273
181 296
26 162
297 202
225 24
273 280
59 98
23 18
76 96
107 205
142 196
1 141
196 240
71 292
190 188
263 197
194 227
37 186
286 17
228 139
64 18
243 152
166...

output:

392453747

result:

ok single line: '392453747'

Test #21:

score: 0
Accepted
time: 4ms
memory: 24452kb

input:

300 330
40 16
254 156
114 293
90 109
236 82
44 153
243 5
277 201
198 229
286 149
250 253
84 130
291 180
2 262
110 153
93 225
12 57
30 92
170 247
86 105
110 87
256 167
27 230
200 99
84 194
113 207
176 245
55 47
16 23
74 42
222 240
27 253
109 254
226 15
118 31
101 33
260 154
223 78
173 63
209 248
293 ...

output:

109903798

result:

ok single line: '109903798'

Test #22:

score: 0
Accepted
time: 0ms
memory: 22892kb

input:

300 310
92 178
136 186
203 85
8 166
150 245
119 97
113 131
296 163
157 47
169 191
108 238
215 244
22 1
87 300
238 118
230 123
214 192
230 140
251 142
209 54
244 166
173 269
276 284
43 38
183 121
65 236
73 76
241 145
99 230
88 57
150 35
157 244
83 201
262 169
97 43
273 64
294 157
119 201
207 65
28 21...

output:

419876890

result:

ok single line: '419876890'

Subtask #6:

score: 0
Wrong Answer

Test #23:

score: 20
Accepted
time: 0ms
memory: 23408kb

input:

300 597
181 11
16 186
144 42
80 274
72 186
238 172
7 268
225 118
198 84
274 214
170 27
181 44
171 74
270 266
20 6
296 108
45 25
32 198
99 86
129 110
281 273
67 47
259 107
277 265
264 145
215 218
264 164
156 281
100 23
284 125
109 280
92 203
108 74
227 171
213 81
262 239
206 111
5 23
90 121
77 274
23...

output:

600

result:

ok single line: '600'

Test #24:

score: 0
Accepted
time: 0ms
memory: 24616kb

input:

300 597
145 168
81 149
192 248
114 243
113 25
201 259
190 156
225 40
127 199
225 33
229 4
298 36
243 81
31 163
192 294
258 31
8 299
210 28
87 143
180 205
270 281
257 174
173 187
203 128
179 292
34 4
292 236
288 248
78 255
7 239
191 124
227 194
113 187
270 93
164 238
256 37
121 88
279 133
11 99
189 1...

output:

600

result:

ok single line: '600'

Test #25:

score: 0
Accepted
time: 0ms
memory: 24316kb

input:

300 597
137 70
124 146
24 239
38 218
186 180
244 153
274 153
274 298
256 126
36 174
172 157
60 274
270 87
207 14
114 280
221 51
165 106
166 25
29 62
210 122
104 157
218 173
134 154
65 120
131 46
45 262
138 253
48 187
118 114
101 184
47 244
200 60
296 267
34 128
129 165
53 246
102 123
153 238
238 249...

output:

600

result:

ok single line: '600'

Test #26:

score: -20
Wrong Answer
time: 0ms
memory: 22608kb

input:

300 597
279 221
253 68
255 267
293 234
88 82
272 133
157 107
129 78
221 160
45 205
8 197
295 127
212 288
232 224
274 23
101 65
4 272
112 300
51 225
221 236
213 236
166 182
87 57
236 254
295 259
28 128
124 39
157 177
133 49
64 45
291 94
161 111
98 144
244 92
135 64
39 44
171 244
241 238
268 296
208 2...

output:

600

result:

wrong answer 1st lines differ - expected: '0', found: '600'

Subtask #7:

score: 0
Skipped

Dependency #4:

100%
Accepted

Dependency #5:

100%
Accepted

Dependency #6:

0%

Subtask #8:

score: 0
Skipped

Dependency #1:

0%