QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#617839 | #7740. Puzzle: Question Mark | MaMengQi | AC ✓ | 205ms | 19012kb | C++23 | 7.5kb | 2024-10-06 17:20:18 | 2024-10-06 17:20:22 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3584kb
input:
2 3 4
output:
2 0 2 2 1 2 1 1 1 2 4 2 2 1 1 2 1 2 1 4 4 3 3 4 3 4 3
result:
ok Correct. (2 test cases)
Test #2:
score: 0
Accepted
time: 194ms
memory: 3908kb
input:
246 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...
output:
0 0 0 0 0 0 0 2 0 2 2 1 2 1 1 1 2 4 2 2 1 1 2 1 2 1 4 4 3 3 4 3 4 3 5 0 0 5 4 5 0 0 5 5 4 2 1 2 4 4 1 2 2 3 3 1 1 3 0 3 8 2 2 1 1 8 8 2 1 2 1 8 7 4 4 3 3 7 8 4 3 4 3 7 7 6 6 5 5 0 0 6 5 6 5 0 0 11 0 0 11 10 11 2 2 0 0 11 11 10 2 1 8 7 8 10 10 1 2 7 8 8 9 9 1 1 7 7 9 0 9 6 6 4 4 3 3 5 6 5 4 3 4 3 5 5...
result:
ok Correct. (246 test cases)
Test #3:
score: 0
Accepted
time: 186ms
memory: 3980kb
input:
64 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310
output:
15252 248 248 734 734 1212 1212 1682 1682 2144 2144 2598 2598 3044 3044 3482 3482 3912 3912 4334 4334 4748 4748 5154 5154 5552 5552 5942 5942 6324 6324 6698 6698 7064 7064 7422 7422 7772 7772 8114 8114 8448 8448 8774 8774 9092 9092 9402 9402 9704 9704 9998 9998 10284 10284 10562 10562 10832 10832 11...
result:
ok Correct. (64 test cases)
Test #4:
score: 0
Accepted
time: 191ms
memory: 4096kb
input:
45 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355
output:
24180 312 312 926 926 1532 1532 2130 2130 2720 2720 3302 3302 3876 3876 4442 4442 5000 5000 5550 5550 6092 6092 6626 6626 7152 7152 7670 7670 8180 8180 8682 8682 9176 9176 9662 9662 10140 10140 10610 10610 11072 11072 11526 11526 11972 11972 12410 12410 12840 12840 13262 13262 13676 13676 14082 1408...
result:
ok Correct. (45 test cases)
Test #5:
score: 0
Accepted
time: 188ms
memory: 4192kb
input:
35 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390
output:
31684 2 2 1 1 4 4 3 3 6 6 5 5 8 8 7 7 10 10 9 9 12 12 11 11 14 14 13 13 16 16 15 15 18 18 17 17 20 20 19 19 22 22 21 21 24 24 23 23 26 26 25 25 28 28 27 27 30 30 29 29 32 32 31 31 34 34 33 33 36 36 35 35 38 38 37 37 40 40 39 39 42 42 41 41 44 44 43 43 46 46 45 45 48 48 47 47 50 50 49 49 52 52 51 51 ...
result:
ok Correct. (35 test cases)
Test #6:
score: 0
Accepted
time: 195ms
memory: 4480kb
input:
30 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420
output:
38220 392 392 1166 1166 1932 1932 2690 2690 3440 3440 4182 4182 4916 4916 5642 5642 6360 6360 7070 7070 7772 7772 8466 8466 9152 9152 9830 9830 10500 10500 11162 11162 11816 11816 12462 12462 13100 13100 13730 13730 14352 14352 14966 14966 15572 15572 16170 16170 16760 16760 17342 17342 17916 17916 ...
result:
ok Correct. (30 test cases)
Test #7:
score: 0
Accepted
time: 199ms
memory: 18940kb
input:
2 2000 1000
output:
1000000 2 2 1 1 4 4 3 3 6 6 5 5 8 8 7 7 10 10 9 9 12 12 11 11 14 14 13 13 16 16 15 15 18 18 17 17 20 20 19 19 22 22 21 21 24 24 23 23 26 26 25 25 28 28 27 27 30 30 29 29 32 32 31 31 34 34 33 33 36 36 35 35 38 38 37 37 40 40 39 39 42 42 41 41 44 44 43 43 46 46 45 45 48 48 47 47 50 50 49 49 52 52 51 5...
result:
ok Correct. (2 test cases)
Test #8:
score: 0
Accepted
time: 189ms
memory: 19012kb
input:
2 1999 999
output:
999000 2000 2000 5990 5990 9972 9972 13946 13946 17912 17912 21870 21870 25820 25820 29762 29762 33696 33696 37622 37622 41540 41540 45450 45450 49352 49352 53246 53246 57132 57132 61010 61010 64880 64880 68742 68742 72596 72596 76442 76442 80280 80280 84110 84110 87932 87932 91746 91746 95552 95552...
result:
ok Correct. (2 test cases)
Test #9:
score: 0
Accepted
time: 190ms
memory: 18588kb
input:
2 1998 998
output:
998000 2 2 1 1 4 4 3 3 6 6 5 5 8 8 7 7 10 10 9 9 12 12 11 11 14 14 13 13 16 16 15 15 18 18 17 17 20 20 19 19 22 22 21 21 24 24 23 23 26 26 25 25 28 28 27 27 30 30 29 29 32 32 31 31 34 34 33 33 36 36 35 35 38 38 37 37 40 40 39 39 42 42 41 41 44 44 43 43 46 46 45 45 48 48 47 47 50 50 49 49 52 52 51 51...
result:
ok Correct. (2 test cases)
Test #10:
score: 0
Accepted
time: 205ms
memory: 18676kb
input:
2 1997 997
output:
997002 2 2 3992 3992 7974 7974 11948 11948 15914 15914 19872 19872 23822 23822 27764 27764 31698 31698 35624 35624 39542 39542 43452 43452 47354 47354 51248 51248 55134 55134 59012 59012 62882 62882 66744 66744 70598 70598 74444 74444 78282 78282 82112 82112 85934 85934 89748 89748 93554 93554 97352...
result:
ok Correct. (2 test cases)
Test #11:
score: 0
Accepted
time: 186ms
memory: 18660kb
input:
2 1996 996
output:
996004 2 2 1 1 4 4 3 3 6 6 5 5 8 8 7 7 10 10 9 9 12 12 11 11 14 14 13 13 16 16 15 15 18 18 17 17 20 20 19 19 22 22 21 21 24 24 23 23 26 26 25 25 28 28 27 27 30 30 29 29 32 32 31 31 34 34 33 33 36 36 35 35 38 38 37 37 40 40 39 39 42 42 41 41 44 44 43 43 46 46 45 45 48 48 47 47 50 50 49 49 52 52 51 51...
result:
ok Correct. (2 test cases)
Test #12:
score: 0
Accepted
time: 197ms
memory: 18680kb
input:
2 1995 995
output:
995006 1996 1996 5978 5978 9952 9952 13918 13918 17876 17876 21826 21826 25768 25768 29702 29702 33628 33628 37546 37546 41456 41456 45358 45358 49252 49252 53138 53138 57016 57016 60886 60886 64748 64748 68602 68602 72448 72448 76286 76286 80116 80116 83938 83938 87752 87752 91558 91558 95356 95356...
result:
ok Correct. (2 test cases)
Test #13:
score: 0
Accepted
time: 199ms
memory: 18752kb
input:
2 1994 994
output:
994008 2 2 1 1 4 4 3 3 6 6 5 5 8 8 7 7 10 10 9 9 12 12 11 11 14 14 13 13 16 16 15 15 18 18 17 17 20 20 19 19 22 22 21 21 24 24 23 23 26 26 25 25 28 28 27 27 30 30 29 29 32 32 31 31 34 34 33 33 36 36 35 35 38 38 37 37 40 40 39 39 42 42 41 41 44 44 43 43 46 46 45 45 48 48 47 47 50 50 49 49 52 52 51 51...
result:
ok Correct. (2 test cases)
Test #14:
score: 0
Accepted
time: 202ms
memory: 18656kb
input:
2 1993 993
output:
993012 2 2 3984 3984 7958 7958 11924 11924 15882 15882 19832 19832 23774 23774 27708 27708 31634 31634 35552 35552 39462 39462 43364 43364 47258 47258 51144 51144 55022 55022 58892 58892 62754 62754 66608 66608 70454 70454 74292 74292 78122 78122 81944 81944 85758 85758 89564 89564 93362 93362 97152...
result:
ok Correct. (2 test cases)
Test #15:
score: 0
Accepted
time: 180ms
memory: 18620kb
input:
2 1992 992
output:
992016 2 2 1 1 4 4 3 3 6 6 5 5 8 8 7 7 10 10 9 9 12 12 11 11 14 14 13 13 16 16 15 15 18 18 17 17 20 20 19 19 22 22 21 21 24 24 23 23 26 26 25 25 28 28 27 27 30 30 29 29 32 32 31 31 34 34 33 33 36 36 35 35 38 38 37 37 40 40 39 39 42 42 41 41 44 44 43 43 46 46 45 45 48 48 47 47 50 50 49 49 52 52 51 51...
result:
ok Correct. (2 test cases)
Test #16:
score: 0
Accepted
time: 203ms
memory: 18680kb
input:
2 1991 991
output:
991020 1992 1992 5966 5966 9932 9932 13890 13890 17840 17840 21782 21782 25716 25716 29642 29642 33560 33560 37470 37470 41372 41372 45266 45266 49152 49152 53030 53030 56900 56900 60762 60762 64616 64616 68462 68462 72300 72300 76130 76130 79952 79952 83766 83766 87572 87572 91370 91370 95160 95160...
result:
ok Correct. (2 test cases)
Extra Test:
score: 0
Extra Test Passed