QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#294915#4832. Telepathyucup-team025#AC ✓20ms5252kbC++203.6kb2023-12-30 17:25:252023-12-30 17:25:26

詳細信息

Test #1:

score: 100
Accepted
time: 19ms
memory: 5204kb

input:

Flim
1000000 100000
1101111111100010011110111001110011110110100000111110011111111111110111110100000001001000000110111000000101110000001100111110100100000100010111001011111010001000101100101100001111011100110010010000100100100101110100100110101001001000001011111101111111001100101000010110001011011000...

output:

10 19 29 39 49 59 64 73 83 91 108 119 123 140 150 152 169 180 183 200 201 213 229 239 250 251 268 272 289 291 302 313 321 340 349 351 362 372 381 399 409 419 422 433 442 452 463 472 481 492 503 513 522 539 549 559 567 572 583 600 602 612 629 639 650 660 661 679 683 692 701 719 727 733 749 760 763 78...

input:

Flam
1000000 100000
0000001101000100010010001001011111000101010011011001010100101001110101001011001011100001011100110100011110011010100101110101101101100101111011000111001101001100010000010010101110101010111110001100110000110001001111010010000010111101110001011011101101010000111111011111100100010001...

output:

10 18 22 32 43 51 62 79 82 93 101 119 130 139 143 153 163 179 189 192 207 211 229 232 242 260 263 280 282 292 301 313 323 331 342 360 361 375 383 392 410 413 421 432 447 452 463 472 490 492 501 512 521 533 542 553 562 580 583 593 610 619 623 633 650 651 669 679 690 699 706 720 730 739 743 751 761 77...

result:

ok 68142 matched

Test #2:

score: 100
Accepted
time: 18ms
memory: 5240kb

input:

Flim
1000000 100000
0100111111111101010011101010110100100101000101101111011100000000001000100010110011011010010000010011011100110000010001001111110101111000111011001110000101100000011110110100100100110101011101011001111001111011111100110010000110000101001111100011111100001001000000111110011001010100...

output:

10 13 21 40 49 53 65 73 90 99 101 118 122 133 143 153 162 179 190 191 201 213 230 233 242 251 262 273 290 299 309 320 330 333 341 351 369 379 382 400 410 413 423 433 441 451 461 472 482 500 503 520 521 534 543 560 561 573 589 592 608 620 623 633 642 660 663 679 681 693 702 712 729 732 750 751 769 77...

input:

Flam
1000000 100000
1011011100010010001100011101110001001000011011100101011000000110000111001100010011101101111010100011101011100110111111100011101000111101110001111110111000010110011100011101001111101100001111010000100110111001101110101000110110101101111010101111010010010011111010001001000110100001...

output:

2 20 29 39 42 53 61 77 90 99 102 119 122 133 141 159 161 173 190 200 209 213 230 231 241 253 263 272 282 292 310 312 328 332 349 353 363 372 390 399 403 413 422 440 442 451 461 473 482 493 503 513 523 532 543 551 561 571 582 599 601 619 629 639 650 652 663 673 690 692 703 713 722 733 743 753 770 772...

result:

ok 67854 matched

Test #3:

score: 100
Accepted
time: 18ms
memory: 5216kb

input:

Flim
1000000 100000
1011011100010100100000110101011111010001111000101100011110101101111101011001110000101111000101001011100010010101000100000110100110101010110101010010110000111111001000101000101111011111001011111011000011111000111010001101000000011001101011110100001001111010100000011000011000111101...

output:

2 13 22 32 43 59 70 73 82 100 102 113 121 132 150 159 169 172 181 193 201 212 229 231 250 253 270 272 289 300 310 319 329 333 343 360 370 373 382 400 402 414 422 432 450 452 469 471 489 499 502 512 523 540 542 560 570 572 589 592 603 612 629 632 649 660 670 673 681 692 709 712 722 733 750 753 770 78...

input:

Flam
1000000 100000
1000000110110000010101111010110100011001100000000100011111010000100011011000100110110101101000000000111000100010001100000011101011001010111010101010101000000010101001001010000011000001100011011000001111000110000100000111101010100101011110110100111101001100100110001111001010010110...

output:

9 20 21 40 42 60 69 72 89 93 103 113 121 139 149 159 169 173 189 191 203 220 222 240 250 252 263 279 282 299 302 313 321 332 342 351 362 373 389 393 402 411 430 440 449 453 461 479 490 492 501 512 529 531 543 553 562 574 581 591 602 611 623 633 641 659 670 679 681 692 709 712 721 732 749 760 763 773...

result:

ok 68015 matched

Test #4:

score: 100
Accepted
time: 18ms
memory: 5180kb

input:

Flim
1000000 100000
0111100010111011111010101001101010001100100000101111100010100101101011101101000111100000100101000110110111010101110111000011100000000111101100001111111000100000001101111100111001000000110111100100101111011010111110001011101110101011100000111101110101110101001100010001010000100111...

output:

1 13 29 32 49 53 70 72 83 93 110 113 121 139 149 153 169 172 189 199 210 213 229 240 250 260 270 279 288 292 301 313 321 333 349 352 369 379 382 400 402 420 422 433 449 458 463 479 483 491 510 512 529 532 541 559 570 571 582 599 610 620 630 632 649 652 663 673 690 699 710 712 723 731 743 753 762 772...

input:

Flam
1000000 100000
1110010010000011001110110011100111011011011010011100001001111110101101010001000001100110001000000001110001011110001101011000111010001000011010110010001011100110010100101001101000000000100100001010001000101101110111100100111001011000100101000101111110010110010101011110001100111000...

output:

3 19 29 31 41 59 62 73 81 92 110 112 129 131 142 159 163 171 188 191 209 211 223 232 250 260 263 273 290 299 303 319 321 339 350 359 367 379 383 400 409 413 429 440 449 459 470 479 489 492 507 519 522 532 541 558 569 580 581 592 605 619 623 636 641 651 670 672 681 700 709 711 722 739 743 752 769 780...

result:

ok 68056 matched

Test #5:

score: 100
Accepted
time: 18ms
memory: 5236kb

input:

Flim
1000000 100000
0010100101001111100010100011100011010001010110111111100111101101110010111011010111001000011001111010101011110101010011000010111100101101100110101000010101010011111110100001111001010110111111010100000100010110110000001110010010111001000111000010000000000011100000001011011011100001...

output:

2 12 29 32 50 53 63 72 90 99 102 113 122 132 142 160 163 172 181 200 209 219 223 233 242 254 270 272 290 292 303 319 323 331 341 359 369 372 390 392 409 412 422 433 449 451 463 480 482 492 510 519 529 532 541 559 563 573 581 593 602 620 630 632 643 659 670 679 690 692 708 713 723 740 749 753 770 771...

input:

Flam
1000000 100000
0110011010000010100110111110001010011001010101001000000000001000100110000010001011100110011110011011111100011100111100100101101111011100011000110000101111010011111001111111100111110000100000110101011000011100110110110100110000001010101101001100000110010011010110110110011101100011...

output:

1 12 22 32 41 59 69 79 82 100 106 111 130 131 149 151 162 172 187 193 209 211 223 232 243 260 262 280 289 293 303 319 329 332 348 353 362 373 382 392 401 419 429 440 449 452 462 477 481 499 503 519 521 539 543 551 562 572 590 600 601 618 622 631 650 659 662 672 681 697 702 719 729 731 741 752 763 77...

result:

ok 68024 matched

Test #6:

score: 100
Accepted
time: 18ms
memory: 5248kb

input:

Flim
1000000 100000
0111000101101011010001110010110111010100011111011111111110100111001001111111100110001010101110000110101001000000111010010010011000000111011101111101101010011010111010010000000101100110010111101001000001000101100100111011001101101010011010001001101100101001110111111110000110000001...

output:

2 12 21 31 41 53 62 72 89 93 102 112 122 139 141 159 163 179 181 192 203 220 221 233 242 252 263 271 281 299 301 311 329 333 342 352 370 372 389 392 409 418 422 440 450 452 461 473 489 491 509 513 521 532 542 552 563 573 589 600 602 612 622 639 649 653 663 673 682 699 702 712 722 739 742 759 761 780...

input:

Flam
1000000 100000
1101110100000110001111100000000111000100101101110000100110101100011010000011001011011100001101101001010001110110101111010010011100111001011000100111101010100010100010110110101000000101000001100101010111101011110111001100000100010110010110011011101010111010010100101001000110010101...

output:

3 19 23 31 42 51 63 79 83 100 110 112 122 133 149 159 162 172 190 192 203 211 230 232 249 252 262 272 290 291 308 314 325 340 343 360 370 373 381 398 402 420 429 440 442 452 469 473 483 493 503 511 529 532 541 552 562 580 583 599 601 619 629 632 643 660 669 673 689 693 709 719 730 733 750 753 761 78...

result:

ok 68103 matched

Test #7:

score: 100
Accepted
time: 14ms
memory: 5204kb

input:

Flim
1000000 100000
1101001000111101111010011000000011100100011001000111110111000000101010010100010000010010110001100110010011011101110110001011001011101010101101100101101110001101110011101011110010001001110110001100100110001000010010011110100011001101111101010101010100001111100011010011110101101010...

output:

3 13 23 32 50 53 69 73 89 99 110 111 129 139 141 152 163 173 189 192 202 219 229 232 243 252 270 273 289 292 302 313 329 331 341 359 363 379 389 399 409 416 429 439 449 451 463 471 489 497 501 512 529 539 542 556 569 571 589 593 602 619 622 640 649 660 669 679 681 699 710 712 722 731 742 759 761 780...

input:

Flam
1000000 100000
1011000100000011111001100111011010111010010010001010111101100111111101101010001111101101111010010100101111011011100000010000101001010101111001100101011111001110010000011111100000000101010001010100001000111010010100110110010111111110000010000001011011010101101101101000011111111110...

output:

2 19 30 39 43 59 62 79 90 92 109 112 122 140 142 153 170 173 190 191 202 213 230 233 249 260 262 273 282 291 301 319 321 332 343 359 363 379 383 397 409 412 430 433 443 460 462 480 490 499 510 519 527 533 542 559 563 580 583 592 609 612 629 640 650 660 662 671 689 699 710 711 729 733 749 751 769 773...

result:

ok 68160 matched

Test #8:

score: 100
Accepted
time: 18ms
memory: 5204kb

input:

Flim
1000000 100000
1111000111110010110101111010010101000010100111100111010001001001110100010110110100000010101010100100010010010000010110110110011101111011000101001110101010101001011001100110100011111100111101101111001101111111110111111100111011011101101111100101000011001101000010000010011000001000...

output:

6 20 22 31 42 53 63 80 89 92 103 119 130 132 141 152 162 179 190 192 208 211 230 231 250 252 262 273 282 300 310 311 321 339 349 353 362 380 390 392 409 420 430 439 442 451 461 471 482 493 509 519 523 539 543 552 569 579 590 600 602 620 622 633 650 652 663 672 682 691 702 712 730 740 741 759 762 779...

input:

Flam
1000000 100000
0100101111000111000001111011111000101100111011001101000110101011000010100001100101011111100000101101110101110011011101001011001000101111001101110001011111100111000110101110100010110110100010010010001011100100011011101001100001001001001110111010010101110101111110010100111100110011...

output:

10 13 21 33 41 53 69 72 90 100 103 113 122 132 142 151 169 179 181 193 202 212 229 240 242 260 269 280 281 300 309 320 323 339 343 359 363 379 383 391 403 412 430 440 443 460 463 472 482 493 510 519 523 539 542 553 561 571 589 591 609 620 630 633 650 652 668 679 690 699 702 711 721 733 741 757 769 7...

result:

ok 68124 matched

Test #9:

score: 100
Accepted
time: 14ms
memory: 5184kb

input:

Flim
1000000 100000
1101100100101011010111000110001101100010101101111011100111101110001000011010001111101110100110100101000001110011100111110011011000010011001100010110001011110101101100000011010101011110100000000100111010011100100011100010100011000010010000000110111101100101011100001011111011101111...

output:

3 12 23 33 49 53 63 71 83 92 108 112 122 140 148 152 162 180 183 199 209 219 223 233 242 259 269 279 290 292 301 313 330 331 341 359 370 379 383 392 401 420 421 432 443 451 461 480 482 499 507 512 530 531 549 552 561 580 581 592 603 612 622 631 641 660 663 679 690 700 702 712 722 733 741 760 761 773...

input:

Flam
1000000 100000
1110110001110100101101000110001011000010011100101101011101101010101010101000111111101011011110110010100100101101000000100011001011000100010000000001111010110010001011001100001001110011001101111100011000100010001111011000001000001001111010001100010001100010100001100011001110010110...

output:

2 20 23 39 41 60 69 79 82 93 109 111 129 138 149 159 161 179 182 193 202 213 221 233 250 253 261 273 283 292 301 311 322 332 349 359 363 380 382 391 402 412 422 440 442 457 462 472 489 499 509 513 523 539 549 551 570 577 583 599 602 620 629 632 649 653 669 680 690 700 703 713 729 739 742 753 769 780...

result:

ok 68133 matched

Test #10:

score: 100
Accepted
time: 18ms
memory: 5212kb

input:

Flim
1000000 100000
0110111110010110100101000100001111111101110011100011101001011101000111001111100010010011111010110011001101110010101011011010000001000110111111111101100111011110010110101011001001100001011010000110111111111000101011000100100011011110001000011000011001100111001101010001011011101111...

output:

1 20 23 32 43 52 70 72 89 99 102 112 122 139 143 151 163 173 189 199 203 212 229 232 242 259 270 279 289 293 310 320 323 332 342 360 362 372 382 392 409 418 423 433 443 460 469 473 490 499 510 520 530 540 549 559 562 571 589 591 609 620 630 639 650 652 661 672 683 697 709 712 723 739 749 760 770 771...

input:

Flam
1000000 100000
0011111000010000111110101000110101011000100110011100001001001010101010101111101011111000111011011011100111001101110011100011101100100011010010110000110000111010111011011011010000110000111101110110110010111110000011010110010001101011010010000000111010000000001010001011110000100111...

output:

2 20 29 33 49 58 69 79 81 99 109 111 122 133 149 159 163 180 190 193 202 219 223 233 249 259 269 279 283 293 302 313 329 339 342 352 369 379 390 399 402 412 422 433 443 453 470 479 483 493 509 519 522 540 541 559 563 571 590 599 603 620 629 640 641 659 669 672 681 692 703 719 730 731 743 759 770 773...

result:

ok 68068 matched

Test #11:

score: 100
Accepted
time: 13ms
memory: 5160kb

input:

Flim
1000000 100000
0100011011001010101110000001011011101010010010100111000111011100011110011001101001100110011111000100010110101010001000011110110110101000000000101001011111110100111110010011101110111011001111100110011000110001001010111001001010011000010101000110000001000111011100010101101001100010...

output:

10 19 22 39 50 60 63 71 82 93 103 112 123 132 142 153 163 180 189 199 207 212 221 238 241 259 269 279 289 291 302 311 323 339 341 359 369 372 389 392 402 412 422 432 449 451 470 471 483 499 510 519 529 531 541 559 569 580 581 599 609 613 629 639 650 651 670 678 683 700 702 713 729 739 743 760 762 77...

input:

Flam
1000000 100000
1111100111000001001000111111000111001101000111111100111011001001101000101010010010101110001011011011110110010111010101111011101101011000101011010000100001001011101001000101111000000111111110000110010000110101000000011010010111101100111000100101101010111100100000010110000000011100...

output:

1 19 22 32 49 52 63 72 83 99 110 120 122 131 143 159 162 171 181 196 202 219 230 239 243 253 268 278 283 291 310 319 323 331 343 353 369 372 381 397 403 412 428 439 450 453 469 472 481 493 503 520 529 532 550 560 562 572 581 591 602 612 621 639 649 651 670 672 683 691 710 719 723 733 747 753 763 772...

result:

ok 67904 matched

Test #12:

score: 100
Accepted
time: 19ms
memory: 5204kb

input:

Flim
1000000 100000
0000001011111000001000100100100001010010000100001001010000100001100011000011010010111011111011000000111100010010111010100100011110001110010011101101111101101101011110100110111100011101100001100110110011110100111101110110111110000000011111111001110010100101101000000111011101100000...

output:

9 13 21 39 49 51 69 78 89 92 103 119 123 132 150 160 162 172 190 192 201 213 223 239 249 259 270 273 283 292 309 317 327 339 349 351 362 371 389 391 402 419 422 432 449 451 469 473 482 500 502 512 530 531 542 560 561 572 583 599 609 613 621 640 643 651 669 678 690 693 702 713 729 732 749 757 761 780...

input:

Flam
1000000 100000
1100010001001011100000100100100101010101100001010110010110001110000010101000110101110100110100111111110011111101010011110101011111011111001010000000010110101010100100010110010000011101110110101110110100100010000000001100101111011110000011111100011011101001010101110100110011111000...

output:

10 12 21 40 42 53 63 72 81 100 110 120 130 131 142 151 162 172 183 192 202 218 229 239 250 252 261 272 289 292 302 311 329 332 343 360 369 379 383 400 410 412 430 439 443 456 470 480 488 491 510 519 521 540 549 551 562 571 581 599 609 619 623 633 641 653 662 679 682 693 703 719 730 740 749 760 762 7...

result:

ok 67936 matched

Test #13:

score: 100
Accepted
time: 18ms
memory: 5180kb

input:

Flim
1000000 100000
1011000111100100101111010101100100010111001011010011010000000110010010100101111111000010000111010010000101011011100001100100110110001111001011100100010000101110100111010101111000011011111110110000110111111001001101100010101001101011110100110111101010110010010101000000100111100011...

output:

9 19 23 40 42 53 61 79 83 91 109 113 123 131 142 159 162 172 189 200 203 213 229 231 241 260 261 271 290 299 309 313 323 334 343 360 369 371 381 393 402 419 421 439 442 460 468 471 483 493 509 511 530 533 550 559 561 579 589 592 610 613 630 632 649 653 663 679 690 699 702 713 730 732 749 752 769 773...

input:

Flam
1000000 100000
1001100001001101011111001110110000011101110100001011000010110101111010010010001110001100001010001010010110110001010110010010111101010110110110001111100011101011101110000001111101100001001100111010101010001010110110010010010101001000010001010011001001010011010100110110001101010011...

output:

2 11 30 40 43 60 70 80 83 99 103 120 122 140 149 151 162 171 188 191 209 211 221 240 242 260 262 280 289 293 309 317 330 333 341 359 362 379 389 400 402 419 423 433 448 451 469 479 481 500 502 511 521 533 549 552 563 579 589 599 601 611 629 633 649 652 666 680 681 692 710 719 721 740 749 753 770 772...

result:

ok 68182 matched

Test #14:

score: 100
Accepted
time: 18ms
memory: 5180kb

input:

Flim
1000000 100000
0111011100111001000111111010111111000100000101100011001100110000000111010111001011001011100010000110101100111001100111000100001001111110011110001001100101001000101100110000011110110111001111011011010010101011000010101111011101001101110110100101001001111011111011100001001111011100...

output:

3 12 23 33 48 60 69 80 83 91 109 113 130 131 149 153 162 179 181 191 202 219 221 231 250 253 263 273 282 291 310 313 329 332 342 360 370 380 390 392 402 419 423 433 450 453 469 479 488 493 501 513 529 532 542 553 561 579 590 592 603 620 622 639 642 659 661 680 690 699 710 713 723 733 741 759 769 780...

input:

Flam
1000000 100000
0001110010100100101000110000110100101010111011011100100010010000001110101111001001100000110111010000011111110000011011100001110001101010100110000101110000100011001100010000001110110000000110010100111101010111011001011010011101111101000100101000111011011000111001110110100110001000...

output:

9 19 27 40 50 52 69 79 81 91 101 119 130 132 149 159 167 179 189 200 210 219 221 240 249 251 261 271 282 299 303 320 323 331 343 351 364 379 381 393 402 420 423 440 443 452 463 471 481 491 507 511 522 531 550 560 562 579 582 593 602 619 630 632 649 653 662 679 681 700 709 719 723 740 750 753 769 772...

result:

ok 67913 matched

Test #15:

score: 100
Accepted
time: 18ms
memory: 5252kb

input:

Flim
1000000 100000
0111010111010011111101011001100111101010010100101101011111011101001110001010110111111100011101100010001100010110110110000100001101000001010101001011101110110110001101100011110111000110100010100100001000101110000101101011101000111111111001100100100010011110010010010001100000000000...

output:

1 20 21 31 50 60 63 72 82 93 102 112 130 140 143 153 162 173 181 199 202 220 229 233 243 251 269 279 282 292 309 319 323 331 348 352 362 372 389 393 402 412 429 433 442 453 461 477 482 493 502 519 522 533 550 559 569 580 583 599 609 613 630 633 650 659 669 679 681 692 703 712 721 732 749 752 761 777...

input:

Flam
1000000 100000
1100010111100100000001100100000100100000010111100110100111101011101010011001011011100011101000100010101011001110111100100001100110001111011010011111111101111100010111110000001010011111011111101000101101011110010100010100101111010101101110100001111110111011101100011100101100101011...

output:

10 13 21 33 50 59 69 71 83 99 109 119 129 139 149 153 163 172 189 199 210 213 222 231 249 260 269 280 283 293 310 312 330 339 349 352 369 371 382 393 402 419 423 440 441 459 462 472 483 499 503 520 529 540 543 560 561 580 590 593 603 612 629 632 642 652 669 673 689 700 709 712 730 732 748 759 770 77...

result:

ok 68099 matched

Test #16:

score: 100
Accepted
time: 19ms
memory: 5220kb

input:

Flim
1000000 100000
1110100011010110010011001000001001101111110101000110100110011100001000101111101011110001011100001100001101111110011001010110110111001110100111100110100100111111100101001001111100111011111010010011000011010000000111010110111000001011101001100001110000101000101001101110001010100000...

output:

1 13 23 39 50 52 63 79 82 93 109 112 121 132 143 160 169 171 189 200 203 211 223 233 243 259 261 272 289 292 302 319 321 332 350 352 362 380 383 399 410 419 423 439 443 460 469 472 481 499 510 513 529 533 541 559 569 571 590 599 602 611 622 640 649 660 662 672 681 699 702 712 727 731 749 753 763 780...

input:

Flam
1000000 100000
1000100101011011000111011000100001100001001000010111100001010111011000110010111011110010011101110101010110010101001010110100110110100100011110110110110000110110111001001100001110101100010111010001001001101000100110111110100100110010011001011010000110010110101100111011000100011010...

output:

2 12 23 40 42 52 61 73 82 100 110 120 123 139 149 159 161 179 190 200 201 211 223 232 249 260 262 273 290 291 303 319 323 333 341 352 370 372 383 392 409 419 423 432 443 459 461 471 483 492 509 519 522 533 550 557 562 579 581 592 609 611 621 639 649 652 662 671 689 699 709 719 723 732 750 760 767 77...

result:

ok 67780 matched

Test #17:

score: 100
Accepted
time: 18ms
memory: 5232kb

input:

Flim
1000000 100000
1110000100100000011110101101011100101001011000101000000010111001110000100111100111110110011101100001100000110111001101100001010010111110001011010101101100000001100100110111000011010110101101000001001111011000110100000111110110100110110010011111011010111111101011001101100011110001...

output:

3 19 22 40 41 59 63 72 82 100 102 113 129 133 143 160 162 180 182 199 210 220 230 232 243 253 263 272 290 300 302 319 329 333 341 352 362 373 390 393 401 419 430 439 442 459 462 472 486 500 502 511 523 539 541 559 563 572 589 591 609 620 623 631 641 653 661 672 682 700 702 712 729 739 743 760 762 77...

input:

Flam
1000000 100000
1110110010101100011010011101101010001001110000100011111010001000101101010010110010000001000101111101110011000000111011111111010010011011100100010001000011110101111000010001000110111000101110100101000011011101010001100110011111111011011111011010110010010001111010000101101100001100...

output:

3 19 29 32 43 53 62 73 83 100 103 111 121 132 148 152 163 180 189 193 210 219 221 240 249 253 269 273 282 293 301 311 323 339 342 353 362 380 390 399 409 417 422 432 442 457 462 472 483 500 509 519 522 532 543 551 562 572 589 592 609 616 623 632 642 653 662 673 690 700 701 719 722 733 742 751 761 77...

result:

ok 68038 matched

Test #18:

score: 100
Accepted
time: 19ms
memory: 5220kb

input:

Flim
1000000 100000
0001110010101111100110111000100110111110001000110011011001000101011011000110011001011010001100110000000011011000011010100000001101000001101011001101111110101101111111110100011101000101110101010101111010000000001010001011011000110011110101110001001100001110100110010111000100111111...

output:

9 12 29 31 48 53 70 79 83 93 109 119 130 139 150 152 162 177 190 200 203 219 221 231 248 252 263 280 281 292 302 313 330 337 341 360 362 379 389 392 410 412 423 431 449 452 463 471 483 491 502 520 523 533 549 560 562 579 582 599 609 619 629 632 649 651 662 672 683 691 709 713 723 732 743 752 770 771...

input:

Flam
1000000 100000
0010110001001111010001111110001001110110110001110110010100100100011011010101011001110100000001000101111011110001011000101010100101000000001110110001101100111001110010100101101010011111101101011010001101000011110001011110011110100001011101000111100001001000010110110010001110111001...

output:

2 17 21 39 50 59 70 73 81 100 103 111 122 139 149 160 170 172 182 191 210 219 223 233 242 252 262 272 289 291 309 319 330 340 342 359 363 373 383 392 403 413 430 432 443 459 469 471 484 500 502 513 523 532 550 552 562 579 583 591 602 620 623 633 648 653 669 680 681 692 709 719 722 733 743 759 762 77...

result:

ok 67897 matched

Test #19:

score: 100
Accepted
time: 18ms
memory: 5168kb

input:

Flim
1000000 100000
0111110110010101001000000111011100001010110100011001010100010000100100010100110111010101011001010001101011000011110010000111000100110010001100110110101011010011011001011110100110011110001111110011000101110010001001100010101010011000110001100101000111011101000110111110101010101101...

output:

1 11 30 33 43 60 68 80 90 92 102 113 121 140 141 159 161 172 187 200 201 219 229 231 250 252 269 272 283 292 309 312 329 332 349 352 363 379 389 399 409 411 429 432 442 453 463 472 483 492 510 512 522 539 543 551 563 579 582 599 610 620 629 639 650 653 670 679 682 699 708 712 729 740 750 760 763 771...

input:

Flam
1000000 100000
1000100001110000100011011101101111100011001000001011000111011111101011000001110100100101100000000101011001000110101010010110011110100100100100101110101110110010011000111110111001000110011111000100111110000100111001111000100000110110011000000010111001011011111001110111001011001101...

output:

2 13 23 31 41 60 63 80 81 100 110 112 121 132 149 153 161 172 187 199 209 213 222 233 242 251 263 272 283 292 309 320 329 333 350 353 369 378 390 400 408 420 429 431 443 460 469 480 481 500 509 519 522 540 541 552 562 572 582 591 610 619 630 633 643 660 669 673 683 700 703 711 729 733 749 753 761 77...

result:

ok 67948 matched

Test #20:

score: 100
Accepted
time: 18ms
memory: 5144kb

input:

Flim
1000000 100000
0111011000101001010100010101010100001101111110011101100001100101001111111001110010101100011101000000010100011110000001110101010101101000000110111111001101101001101010100011010011111011111001111001000001001011111000110000001101011101011100010000001001111101000110100010000111011001...

output:

1 12 30 40 41 51 70 73 82 93 110 119 130 132 142 160 162 180 182 193 210 213 221 240 250 252 262 272 289 293 303 313 323 340 343 359 363 373 383 400 403 413 422 431 442 453 462 473 483 493 502 513 523 532 550 552 570 579 589 597 603 620 630 640 642 659 670 673 682 699 703 720 723 733 743 752 762 773...

input:

Flam
1000000 100000
1110010100101000111101000011101111001100001101101110001000111001110101101011001101001100000111101000000101111010000011100101100000111010011111101110110011110110111111111010111111000100110111101001010001010100011101100101011010110110111001011011010001011001110000000110110001100110...

output:

3 19 23 33 41 59 62 79 90 93 109 119 123 133 150 159 163 172 190 192 210 220 222 232 242 253 269 279 283 299 309 313 328 331 342 352 363 378 382 399 403 419 430 433 449 459 462 473 489 491 502 511 523 540 541 560 569 572 582 592 602 620 623 637 649 660 669 679 681 699 703 719 730 731 743 760 763 780...

result:

ok 68223 matched

Test #21:

score: 100
Accepted
time: 18ms
memory: 5220kb

input:

Flim
1000000 100000
1100101001101111011110010011111110111010101110001010000000111010011100001100011110011100101010100011111001000100000100111100101101011010111100101100011011000101110101111110001011111111000111110011100000111111100000110111111011011100111101100010001010011000001101110100100101011001...

output:

10 19 29 33 49 59 62 79 89 99 102 119 130 131 142 152 170 179 186 193 209 219 230 239 249 251 261 280 289 300 302 312 322 339 341 352 370 380 381 393 409 420 421 433 449 453 470 471 482 492 503 519 523 539 543 558 562 572 581 600 601 612 623 640 642 651 661 679 689 692 703 711 730 740 741 752 769 77...

input:

Flam
1000000 100000
0110110010101010110010111110111001111010001011101010001110000001110111010001010100000100101101001110000101001010101010000111010011101110110110011110110000111011001111010111100000111001100101100000011011111001010110110110111110110011110101011001011100100011011001011111110000001101...

output:

1 12 29 39 49 52 69 80 89 93 109 112 121 132 149 159 162 180 182 199 202 211 223 232 243 259 270 280 282 293 303 320 323 332 343 352 369 376 381 392 402 412 430 433 450 452 462 480 489 492 502 513 530 540 549 552 569 572 583 592 601 619 623 631 642 653 669 679 681 700 703 719 722 731 749 751 769 779...

result:

ok 67953 matched

Test #22:

score: 100
Accepted
time: 18ms
memory: 5232kb

input:

Flim
1000000 100000
0010101000110101100111000110000100001100001010011101100100011110100100010100111101101001010110100000101000010001011000110000000000000000100100111001111100000010110001000010001010101010001111110111001010100110101001011011110000101000101110010001010110010010101011011000110000010110...

output:

2 20 23 33 49 60 63 80 82 91 102 120 129 140 149 153 163 179 189 193 209 219 223 232 249 260 270 279 282 299 303 319 322 331 349 353 361 379 381 399 408 420 423 433 450 451 467 473 482 493 501 512 522 539 549 551 570 578 590 592 609 612 621 639 643 660 663 680 682 700 710 720 721 731 742 759 761 772...

input:

Flam
1000000 100000
1011001110001101111101110101000110101110100110011110111101101001011111000001111011001011011111110010011111110111101011000101010011101110110010011000010010110101010001110111110101001000110101001110011000111000111101011101110010100000100100101101111100110000101000110010001001111111...

output:

9 19 21 31 49 59 69 79 90 91 102 113 130 133 142 152 170 173 182 191 209 220 223 231 243 253 262 279 289 293 310 320 330 340 349 352 361 380 390 400 409 419 422 433 441 452 470 473 482 492 510 513 522 532 543 551 562 578 582 591 603 619 623 639 643 659 670 673 690 700 703 720 723 733 750 760 769 773...

result:

ok 68100 matched

Test #23:

score: 100
Accepted
time: 18ms
memory: 5196kb

input:

Flim
1000000 100000
1011001001010100111100111000100101010000111111110101101011000000000101101010001001100011100011011100001110100010101101101111100111001001000010011100000100110101100000011000101100111000111101111100101001000110101000101100000000011110010010110010000001011110011011111000001110111000...

output:

2 20 29 33 42 53 70 79 81 92 102 119 121 131 143 160 169 171 182 193 203 213 229 239 242 251 263 273 281 293 307 312 321 339 343 359 370 380 382 399 409 420 421 432 449 452 469 472 482 493 503 519 523 533 549 552 562 571 587 600 601 613 623 639 649 659 670 673 682 692 702 720 723 733 742 753 770 779...

input:

Flam
1000000 100000
1100100010001100001001000001011100100000111110001100110110100010010110101101000001100001111000110000010101011110001010011110011101101110100001111010110000001111111111111110111011100001110001010011000010100101001101011010000000110110110000001100010011100100101110010101010011000001...

output:

3 19 30 33 41 51 61 72 81 93 110 112 122 132 141 159 161 179 190 200 202 213 230 232 250 259 262 272 283 292 302 319 321 339 342 352 367 373 381 392 410 419 429 431 441 452 470 473 483 492 509 512 527 539 549 559 569 579 589 592 601 619 622 640 642 660 662 672 681 691 703 712 723 733 749 759 762 777...

result:

ok 67945 matched

Test #24:

score: 100
Accepted
time: 15ms
memory: 5168kb

input:

Flim
1000000 100000
1101110010010001001010011011111111001011001100101001110000100100101100110000010110001010001100100101100101100011000010111011100101100011010110010000100100011110111000001110110111100011000100110100110010111110000000000000101011000001100001111000111000001110011110011010011100100011...

output:

3 20 29 31 41 51 63 80 83 100 103 120 122 132 149 153 170 179 187 193 202 219 222 231 242 259 262 280 289 299 301 311 323 332 350 359 361 371 382 399 410 412 428 433 449 459 463 478 490 492 509 520 521 532 550 553 561 573 590 599 601 620 623 632 643 659 661 680 690 692 709 711 730 736 742 759 769 77...

input:

Flam
1000000 100000
0100001011111000100010010000110100100100001111001100111001010000100010111110011100111011101101000100101001101010010001101101111011001010001111100000001000011010001101011001010010010110100101000100101011000001001101100101001001100011100110110111111100111011010101011011010111101001...

output:

10 13 29 33 49 52 69 71 89 93 109 119 130 139 143 159 169 180 182 199 203 220 222 240 241 252 270 272 289 291 303 311 330 332 349 353 362 380 389 400 401 420 421 431 448 459 470 472 481 491 502 520 522 539 542 551 569 579 590 597 602 611 630 633 650 660 668 679 689 693 710 719 730 733 742 752 763 77...

result:

ok 67911 matched

Test #25:

score: 100
Accepted
time: 18ms
memory: 5252kb

input:

Flim
1000000 100000
0110101001010011011111001001001011100001100011110110110100011110011000101000001111111111011110001110001001101011000011000011101100001110000001111001011100101100000000101101001011111000101110001011101000000010111101011001010111101101000111001110000110000110101101000111100010000000...

output:

2 20 23 32 42 52 63 79 82 93 101 113 122 131 142 153 169 180 189 199 209 220 230 233 243 259 263 272 289 292 302 312 330 332 341 360 370 378 390 399 402 411 423 431 449 452 463 480 483 499 502 511 523 540 549 560 569 579 581 593 602 613 629 639 650 653 669 672 682 699 709 713 721 732 750 760 769 772...

input:

Flam
1000000 100000
0111110010011111010001100000111010111101110001000111010101110111111010010111110000011111100001100100100100101101000010111010001010100001111111010010100100000111000000001011100101101101011101001010101001001101011111111011011110101001000111000110001111010010000111001011101110101000...

output:

1 13 21 32 50 60 61 73 89 96 109 120 129 139 143 160 169 173 190 199 210 219 221 233 241 260 263 273 289 299 309 320 322 340 349 352 370 379 390 399 403 419 422 432 441 452 461 479 483 499 503 519 529 532 543 552 563 573 590 592 602 619 623 632 647 652 662 672 681 699 702 713 729 733 749 752 762 773...

result:

ok 67862 matched

Test #26:

score: 100
Accepted
time: 18ms
memory: 5252kb

input:

Flim
1000000 100000
0111101101110010010011100010000110100100111101111100010110110001001011110111101110010001010110101000100110001010011111101100101101110110111110110100001011000101110010100110111100011001100110111100101001010110000010101001100010011001000101011101100111000110000010110011101001001110...

output:

2 13 23 31 49 59 69 80 82 91 109 119 130 140 142 152 170 172 189 193 203 212 229 240 250 251 269 279 289 300 309 311 330 333 349 352 363 379 383 392 401 413 429 432 443 452 469 480 490 492 502 511 529 539 543 552 563 579 582 591 602 613 627 631 650 651 669 673 690 693 701 713 729 733 743 759 763 773...

input:

Flam
1000000 100000
0000100010101101011010101001111011100110100000101000111111000001010100001001100111100111101011011110111000100000000111101011110110011010011000010111010010101100101010010101100000100010101101100110011100101101101110000111001110001011010111111011110101100100001011100100101111010111...

output:

9 19 29 39 49 52 68 72 83 99 103 119 129 131 150 152 162 171 182 199 201 211 229 240 242 259 263 271 289 293 302 319 329 339 350 360 362 379 390 400 409 413 429 439 449 459 462 471 481 492 501 512 522 532 542 551 570 572 589 593 601 620 630 633 649 660 663 672 689 691 703 711 730 740 743 753 763 773...

result:

ok 68013 matched

Test #27:

score: 100
Accepted
time: 18ms
memory: 5236kb

input:

Flim
1000000 100000
0111101011110111011100100010111010101111010011010111110011110100010100111001010101101001000111010111101011101011010110010010010100001010010000000000100000100000100011001101100011111111101010101110100111100011101000001010110101100001111100100110001000110111010101101111000000000000...

output:

1 20 29 39 50 51 63 72 81 91 109 120 122 132 149 157 169 171 183 192 203 219 223 231 241 260 261 279 290 293 301 313 322 339 342 359 369 379 382 392 401 419 421 432 443 460 469 471 482 500 509 512 521 532 550 551 562 572 590 593 603 620 621 632 643 657 662 679 683 693 709 712 730 732 743 753 762 779...

input:

Flam
1000000 100000
1001000100000010010110100001110011111010000000001000111001111001101011001011011100001100010100100000010010000110011100010111011001100101011000100101110111100101101001111111110000111110000000010000000010001110000011010110100101101010110011001100110010110000110001010101010000100100...

output:

3 20 29 39 49 59 69 79 90 93 110 112 122 139 141 152 169 171 183 193 202 219 229 232 243 253 270 278 289 292 310 312 329 340 342 360 363 373 389 392 402 419 423 432 441 453 463 480 489 500 509 519 521 533 549 560 563 572 581 591 609 620 630 633 643 652 661 672 682 692 702 712 729 740 749 760 770 779...

result:

ok 68229 matched

Test #28:

score: 100
Accepted
time: 18ms
memory: 5248kb

input:

Flim
1000000 100000
0001010011111010001001011101010101011010010110110101000111100011110111010000010010011011001000101011000111100010110101000011011010101000110011111000010111101011001000010010010101001010011000011000000111011011101010101110101100110001100001100110110100010001000101000100010111111101...

output:

9 13 30 31 50 53 69 73 82 99 108 112 121 132 142 151 162 173 182 191 203 219 222 231 241 260 270 272 283 293 309 319 321 331 343 360 362 379 389 393 402 413 422 439 441 452 470 471 490 492 510 513 529 532 542 559 563 571 583 591 609 619 629 639 649 660 668 671 683 700 710 719 723 732 746 752 769 779...

input:

Flam
1000000 100000
1011000101100110011110101111111100101111000111110010000110100101101101001111011101011100110101001001100110100110110011011001100100011011001010110010011011010011001000001101011010111001100111001111111101010011101010111111000010011100000011100101001111010100010010000100010111111110...

output:

2 19 29 40 48 59 70 79 90 100 102 112 123 131 142 159 169 180 189 191 203 219 229 239 250 253 262 271 289 293 301 313 329 340 350 352 370 373 382 392 410 413 429 431 441 460 469 471 481 496 509 513 529 540 543 551 561 571 583 593 603 619 630 631 650 659 670 672 690 692 709 712 723 739 741 752 770 77...

result:

ok 67860 matched

Test #29:

score: 100
Accepted
time: 18ms
memory: 5248kb

input:

Flim
1000000 100000
1110010010011111101011010010111010011100001101000110110001100010101100001111010001001100100010000101001001010001001110111011001101110100110010111111010011000011111101111010010011110011000100010110011010001111100011001011101101111011001110101111011000010110110001101010100011101110...

output:

3 11 30 32 42 59 62 77 81 92 102 120 122 133 142 157 163 179 187 191 209 219 229 233 243 253 261 279 290 291 309 316 322 332 343 352 362 380 383 391 403 420 429 432 449 453 467 480 481 492 503 511 528 539 542 553 562 572 589 600 601 611 629 639 641 652 669 679 682 700 702 711 721 739 749 752 763 771...

input:

Flam
1000000 100000
0000111110001110101101010001010000111011101101001110001110010101111101010111001001110000100001111111010110100000011100110111111000001101111000010110001110000101110001000000110111010010010111010000010101101011101011011111001001101111010100001000110010100110010111010011001011011110...

output:

9 11 30 39 49 52 70 80 81 99 103 119 121 139 148 152 163 172 181 200 201 219 229 233 249 252 263 279 288 298 309 313 330 331 348 359 362 373 389 398 409 411 423 440 449 460 463 472 483 493 509 520 523 532 549 552 563 579 588 599 610 620 629 633 650 652 662 673 683 699 703 711 723 733 742 760 761 779...

result:

ok 67932 matched

Test #30:

score: 100
Accepted
time: 18ms
memory: 5184kb

input:

Flim
1000000 100000
0001101011000011111001111111001100101111010001101101000100011001101011011011101010001100011010011111011001100011011101011010010000001101100100010001001100011100101100111011110011100100001010011010111011100011110110101001101010101001000110011110100011000111011010110011010101110101...

output:

9 19 21 40 50 60 69 71 82 99 101 120 122 132 148 153 169 173 183 191 207 212 229 240 241 259 262 280 281 293 309 312 330 331 342 352 363 379 390 392 401 420 429 440 443 460 462 478 482 500 510 519 530 532 549 552 570 572 583 599 602 613 621 632 649 651 668 671 682 700 702 720 723 739 750 752 762 773...

input:

Flam
1000000 100000
1011110001101010010000000100110000000100110111101010110010110001001111111100001110000110001100111110011001001011011011101101001111110111101101110010110100110000000111111111010101100011110011110101010111010010110001010111000100100100010001111101110100110000011001010000010010001100...

output:

2 12 29 39 43 59 69 71 83 93 101 113 130 140 141 160 169 173 189 200 210 219 230 239 243 253 270 278 290 300 309 313 329 332 343 359 370 373 381 400 409 411 422 432 449 453 469 473 481 500 508 513 529 532 542 559 562 580 589 599 609 619 623 639 643 653 661 680 683 700 703 712 721 731 742 759 770 771...

result:

ok 68050 matched

Test #31:

score: 100
Accepted
time: 18ms
memory: 5160kb

input:

Flim
1000000 100000
0010100001101111101100100010011000001000010100010001000110111110111100011001001010000010101111110110000110110011110000110111010001010100000111011111110001010110111001101011000011110101101010110110010011000010011011000100101110011111011000100000100101100011011100000010011101001010...

output:

2 19 22 33 43 60 63 71 89 93 108 111 122 140 150 159 163 180 183 193 210 212 229 233 250 259 270 273 289 299 303 313 322 333 342 352 363 379 381 393 409 419 429 433 443 460 461 472 481 493 503 512 523 532 549 560 562 580 581 599 603 618 623 631 649 659 663 673 690 691 709 712 721 733 750 760 762 772...

input:

Flam
1000000 100000
1101111111000001111000100100110001110110111000110011111001101111000100001101011000001101001110111001011001011001110110110001110011011010111001010010110101001011000011101001011111100110000111011001101100100000010100001001010010001010100001101011110110111110000100011001100010001001...

output:

10 19 29 39 43 53 63 79 88 92 101 111 129 131 150 160 169 180 181 191 202 220 223 239 249 252 269 272 290 300 310 319 330 331 341 352 363 373 382 391 409 420 423 440 441 451 462 473 482 491 507 511 530 531 550 553 562 580 583 593 603 613 621 639 649 652 669 671 681 697 710 713 729 733 743 760 769 77...

result:

ok 68127 matched

Test #32:

score: 100
Accepted
time: 14ms
memory: 5236kb

input:

Flim
1000000 100000
0100100001111110000011010010011100001111011100110001110100111011000011001011000100110001111111001101010001101000100011010110010100100001001111000001001010000010011111010010010101111011111011011001100111100010101111000001110010101100011011010011111100011001001011001010110000000000...

output:

10 13 30 40 41 51 69 72 89 92 103 112 121 139 143 159 163 179 189 192 203 212 230 240 242 251 270 279 282 291 310 313 322 332 343 353 370 371 383 393 401 419 423 433 442 459 470 473 483 500 509 512 523 533 542 559 570 571 587 599 603 619 623 631 641 660 670 673 689 693 708 713 722 732 743 752 761 77...

input:

Flam
1000000 100000
1111110110101101011111110001110010110010100101000110110100110110000000110010000110110001110101000100011100011100011000000010100001000110110111001101110010001000011110001111101100111010010000011011010010100011000101111010101100100111001010001100001110111011111011101101011101011010...

output:

3 19 26 39 42 59 61 80 89 93 101 111 122 140 150 152 161 171 182 191 202 220 222 233 243 253 262 273 288 299 309 313 322 333 350 360 370 372 382 399 402 420 422 433 450 460 461 473 483 493 502 513 522 533 542 551 570 573 583 593 609 620 629 631 642 652 661 672 682 699 709 719 723 733 750 759 763 773...

result:

ok 67879 matched

Test #33:

score: 100
Accepted
time: 18ms
memory: 5196kb

input:

Flim
1000000 100000
1100010111100110111101011000010110001111001010100001001100110010001100101010001110001111000011001110000111000011100010000011001100111111000011101000110010000110111101001110011001001011010101110111000111101000111010100011011011010100110101000001110000100001101100101111011111010111...

output:

10 19 30 31 42 60 68 79 83 99 103 113 122 133 141 151 161 173 182 200 201 219 222 232 243 259 262 271 281 293 302 320 327 333 350 359 370 372 390 392 409 413 423 439 450 460 462 473 490 493 501 519 521 540 543 552 563 573 582 593 602 613 630 631 649 651 669 672 682 699 703 712 722 733 741 752 761 78...

input:

Flam
1000000 100000
1101010100001101101101011111110100101011000110001101000010010100000011000101110001011000010100000101100010101111110100110101011000101010000110000011001011100000000011000111010011000001110011110100101111000111110111010100010000101011101001010101111000100010000100111001010001101000...

output:

3 11 30 40 49 60 70 78 90 100 109 111 123 132 143 152 170 173 189 200 209 211 223 232 243 252 262 278 290 294 307 320 329 332 343 353 361 371 382 400 409 412 422 439 443 451 463 471 482 500 501 511 523 536 549 553 563 572 582 591 608 614 621 639 649 660 662 673 683 693 701 711 723 733 750 753 762 77...

result:

ok 68002 matched

Test #34:

score: 100
Accepted
time: 18ms
memory: 5216kb

input:

Flim
1000000 100000
0111100010100000010100001101111000000101001011100101110011100001101100001010101011000110100001111110000010110110011101000001010101100101111011100110010000000110000101111110011000001100110100000111011010011101111010110000111110010110000101101111000011100011011011101000110000111010...

output:

1 12 29 32 42 51 68 79 83 99 110 113 130 139 142 159 169 173 183 199 209 212 222 239 241 259 261 279 282 300 303 311 330 340 343 352 361 372 389 399 410 412 421 432 442 453 469 473 489 499 509 511 522 538 549 551 563 573 582 592 609 619 629 639 649 659 661 680 689 692 702 718 723 739 743 751 761 772...

input:

Flam
1000000 100000
1110001100100001111101110100100100000011100110111010000000100011101100110111001000011000100101110110111101001111010011011011101111010010101101111101110000010000010100111000001011111110100100011000000011010000101011101011110011101110100100101000011111001011011000100101001110100001...

output:

3 19 21 40 49 59 62 73 89 100 101 120 129 140 141 156 163 179 183 191 203 219 230 239 249 251 262 272 281 292 301 318 327 339 343 360 369 379 389 393 402 412 421 433 443 453 463 479 483 500 510 519 530 537 541 553 569 571 582 600 609 620 629 633 643 660 663 673 689 700 701 711 723 740 750 752 769 77...

result:

ok 68113 matched

Test #35:

score: 100
Accepted
time: 18ms
memory: 5196kb

input:

Flim
1000000 100000
1010110110110001101011111110011011010001100100000001010010000000110111110011110001101110011110001011010100000000111001111111011110010111111100000110101110000011100101011010101110010001001010101101010111111101010101001010000001100001000010111011011101010010111000001110101110001111...

output:

9 13 22 32 43 53 69 73 82 93 110 119 123 140 149 160 169 172 189 192 202 213 228 240 242 253 269 277 281 300 301 313 329 333 349 360 363 373 390 399 403 413 421 432 449 460 461 480 489 491 501 519 522 533 549 559 561 573 589 593 609 613 629 633 641 652 662 679 688 700 703 712 722 731 749 759 769 779...

input:

Flam
1000000 100000
0111010010110001011111101100010011000011100001101000100100110101011110100000100101100000110011000100000110111010001100101101000110011001111101001110101010111010010011111111110110011100111111011100101001110011101001111100000100001010101111010010111000101110110100001001001110011110...

output:

1 20 22 37 49 59 70 72 81 97 109 119 123 137 141 159 170 172 190 191 201 213 229 232 242 252 268 273 290 292 302 320 323 339 341 351 369 372 383 399 409 419 423 433 441 459 462 480 483 492 503 513 529 540 542 559 562 572 581 593 609 613 629 639 650 653 662 673 683 693 710 713 729 732 743 753 762 779...

result:

ok 68054 matched

Test #36:

score: 100
Accepted
time: 18ms
memory: 5204kb

input:

Flim
1000000 100000
1100001100110101110100011111000001000111111101010111101011111000110101101110110000100110001011001011011101111001110100101100101100010101111100100100000101110100111000110111001010011010110000010010000100011101100110011000101110111001011110101110101010011101000110011111000111101001...

output:

3 20 28 39 42 53 62 73 82 99 101 111 123 140 141 153 162 180 182 200 209 211 229 240 241 252 263 272 287 293 310 312 321 332 342 360 363 372 383 393 409 411 421 433 443 460 470 479 481 492 509 519 522 531 541 560 565 579 581 593 610 613 621 633 641 651 663 679 690 699 710 713 722 740 749 759 769 771...

input:

Flam
1000000 100000
1001011000101011110110010111101111110100101100101111000011101010100011010010110101000000000111110101110001001001101111010001000000100010111010111010011110011000101000111110011110000000101101000000001001111010001001100001110101011111100110110100110010111101110001000100100000111100...

output:

3 12 29 33 49 53 69 80 83 92 103 112 126 139 142 153 169 173 190 199 203 212 230 240 241 253 270 278 290 300 302 320 329 331 343 359 361 373 382 400 409 413 421 439 449 453 462 472 483 493 509 511 529 532 549 559 570 572 582 593 609 619 621 639 641 660 670 680 681 698 702 713 722 740 750 753 769 772...

result:

ok 67918 matched

Test #37:

score: 100
Accepted
time: 18ms
memory: 5248kb

input:

Flim
1000000 100000
1100010101101110110010110011011111110010000111000011110001000101000110011100100000101110000111100011001001110000000100000100100010111000101001110100000011010101001111111111101111010011111001101011000100010010011011011111011001111000100101111000111111101010011111011001100000000111...

output:

10 13 22 31 43 53 63 71 82 91 102 116 123 133 141 152 161 172 182 192 210 219 221 231 249 259 263 279 282 292 310 320 329 332 342 360 361 372 387 392 410 412 422 439 442 459 462 473 482 492 503 512 523 537 541 553 570 572 590 592 610 612 629 632 643 660 670 672 682 691 702 712 723 732 743 753 769 77...

input:

Flam
1000000 100000
0110000011011101001110001010101111010101110111100111011111111110010111101011111101111011110101111010110111001111001000001110011101000011010010111010011000101001101111010101111001110100110010100100000110011010001111110101110101000000111111110011111010011100001100110001011001110111...

output:

1 11 29 32 50 60 69 79 81 100 110 113 122 138 142 152 162 171 181 192 203 212 223 231 249 251 262 279 281 299 310 311 330 340 341 353 370 371 390 399 409 412 423 431 443 460 463 472 483 499 503 519 529 540 541 553 569 579 589 600 609 612 623 631 649 653 670 673 681 693 702 713 723 733 742 753 762 77...

result:

ok 68131 matched

Test #38:

score: 100
Accepted
time: 18ms
memory: 5248kb

input:

Flim
1000000 100000
1110101010011010100111010100100010011011110100000111111111010110101100100000010001000011011101001001100101100000110001011101001110100101000001101011011100101111101111101000101111011100111100101110000010000011001101111101101111101001110000001010100110111011001110001001011110010101...

output:

1 12 23 39 50 52 63 73 90 100 103 112 123 133 142 160 169 172 183 192 203 220 229 231 249 251 262 272 283 300 310 311 330 340 350 353 369 373 381 392 403 420 422 432 450 459 470 480 490 491 509 511 522 533 549 552 561 580 581 600 609 612 622 632 649 659 663 679 682 692 709 711 729 739 742 759 763 77...

input:

Flam
1000000 100000
1101001110001000111010001101011101110111110011011100000100110100000001111100111100001011000001000001100101101001100110000111110111100100001110010010101011010101100101111001001010111111011101101000111000100111100111010101100000000000101100000001010000011001100100101111010011101001...

output:

3 19 22 40 50 59 70 71 87 100 109 111 121 139 149 152 169 180 182 199 209 212 223 232 250 252 262 272 282 300 309 312 322 338 350 359 363 373 382 392 409 419 430 433 447 460 463 480 489 499 510 512 529 532 542 560 569 580 589 593 603 620 622 633 643 652 662 671 689 692 710 712 722 732 743 752 761 77...

result:

ok 67850 matched

Test #39:

score: 100
Accepted
time: 18ms
memory: 5164kb

input:

Flim
1000000 100000
1101001000110001010111101100100100001010000100111010000010011111000111010010011111100010000011101010000101100000000010001010111100000100011011011101111111000010100011100001000011110111100011000111001111110010010000001111011111111110100100001010110001011101100111001000000100010111...

output:

3 20 23 33 49 52 66 80 83 99 108 115 122 139 150 153 162 180 181 199 202 219 228 232 242 252 263 280 289 293 302 316 322 332 349 353 362 379 383 399 409 411 430 440 443 459 469 472 483 492 503 520 523 539 542 560 570 578 583 593 610 611 630 631 649 652 670 679 689 693 710 713 721 733 749 751 762 773...

input:

Flam
1000000 100000
0000101100001111001000110011001001010011000110111111101100110000011101100111110100100011100001011100010111001111001101111101110101111110101100111111101100100111001000111110110101000100000100011110111011000100111100001110101010100111111100011001010101111010100000000010011110011111...

output:

7 11 22 39 49 51 70 72 89 98 110 120 130 133 149 160 169 172 183 191 210 213 222 232 242 253 270 272 281 299 303 312 329 331 350 360 369 379 382 400 401 413 422 433 443 452 461 480 490 500 502 512 522 531 541 559 562 573 590 593 602 611 629 633 650 653 662 678 681 699 707 713 722 731 743 753 762 772...

result:

ok 67821 matched

Test #40:

score: 100
Accepted
time: 18ms
memory: 5184kb

input:

Flim
1000000 100000
0010100111111000001110011100010101001010110110011000111111000010000011011101010100001011101000101100011000011010000100001001001010101101001101100001001001110101001100101000000010100011110110111001000000101011000011101000100000100100010010100101111110010111100100001010110011001001...

output:

9 20 22 33 43 52 69 72 89 93 101 113 129 139 141 152 161 179 189 193 202 212 222 239 250 260 269 272 283 292 303 320 321 332 343 360 363 379 389 400 403 419 430 439 443 452 469 473 481 500 509 513 523 539 541 553 562 573 582 599 609 613 621 633 649 651 669 679 689 692 702 719 721 732 750 752 761 772...

input:

Flam
1000000 100000
0010111011111110011000000010000110001101110001010111101101111110000000101111100101101100000000001010000011001001101111100111010111011010001100001010100000101010010100100101011011010101010110111001110011100110001010101110100100111010100110111100111000001000111110111010001101000000...

output:

9 13 25 32 50 60 63 72 81 99 109 111 121 131 149 159 170 180 183 193 203 219 229 239 243 259 262 273 287 293 310 319 329 331 350 359 361 373 382 392 401 420 421 432 449 453 469 478 490 491 509 520 523 533 549 560 569 573 583 593 609 612 629 640 650 658 663 672 682 700 703 712 723 732 742 752 769 778...

result:

ok 68112 matched

Test #41:

score: 100
Accepted
time: 13ms
memory: 5216kb

input:

Flim
1000000 100000
0111000001101111111111111010100001110001000000011100010100001101000000000010010110001111000010110001010110000001100001010101110010011010001111000010010111001111010010100110001110100111010101111011110011010011010001100011010010001011101110111001001111011100001010000011000001101110...

output:

2 19 23 40 49 60 63 80 83 92 103 112 130 131 150 151 170 179 182 193 210 219 223 240 249 251 263 279 282 291 309 317 329 340 343 360 369 379 390 391 410 412 429 439 441 460 463 473 481 500 509 513 529 539 549 560 569 580 589 591 603 612 621 633 649 659 663 673 681 693 702 720 722 739 749 759 761 772...

input:

Flam
1000000 100000
0010010010001101001010101001011010100010011001000101011010001101011100000000001101101110100000100010110111001110010101111110010100101011000110010110010101111101100101110110001001100000101000111110000110111111011011001001000111000001100110010011100001111100101101001001001100000010...

output:

1 19 22 39 50 53 63 79 81 99 110 119 123 132 142 160 162 179 182 192 202 212 223 232 242 251 263 273 282 292 308 320 323 340 342 359 361 372 382 392 402 419 422 433 448 451 463 472 483 499 510 511 522 532 542 558 563 579 590 600 603 612 621 633 643 660 661 678 681 700 703 712 722 732 750 759 763 771...

result:

ok 68295 matched

Test #42:

score: 100
Accepted
time: 19ms
memory: 5188kb

input:

Flim
1000000 100000
1000000110110111100111110111000010011100100100111111110010111101000111111001000010111100001101000111000100101001110001001110011001111101011111100110000111001000000001001111000000000101000011001000010001010011110101001010100111100000110001010110111011000011100101100000110011111000...

output:

9 20 23 32 49 51 70 73 82 100 109 111 122 131 143 151 169 173 190 192 210 213 223 232 241 260 261 272 282 300 309 320 323 340 341 353 363 380 381 391 409 412 421 432 443 459 462 479 483 500 501 520 523 531 543 552 562 579 582 591 603 620 622 640 641 659 663 673 690 691 702 719 722 739 743 753 769 77...

input:

Flam
1000000 100000
1001110110110011010001111101100110001001001101101001110111101001011110010110010110001110110110110110011001110101000000011100011001110111010111110000011111000101001111001101000011000001110110101101000000000100011110010010111100111110111001111001101000000010010011011011110110101111...

output:

9 13 21 32 41 51 69 80 89 91 110 120 130 140 142 152 169 173 189 192 210 213 221 239 243 258 270 271 290 293 301 312 330 339 349 353 361 372 382 391 409 411 421 432 449 452 470 480 482 493 502 519 522 539 549 560 561 572 583 600 602 612 629 633 641 660 669 680 682 693 710 711 729 739 742 753 761 771...

result:

ok 68099 matched

Test #43:

score: 100
Accepted
time: 20ms
memory: 5172kb

input:

Flim
1000000 100000
1110111101001101011011100001011000101100100111010111111011100010011111111100011111110100101111001100110100110001100000111010011111001000010101100000001101101010110111110100101101100110111110111100110101101001010011110010000111101011010001101001101010011000110000010010000000101110...

output:

2 19 22 33 42 53 69 76 81 93 103 111 129 132 141 153 170 171 181 192 202 211 229 233 249 251 269 279 283 300 309 320 323 331 341 359 369 371 389 392 410 412 428 431 450 460 469 472 482 500 509 513 522 531 549 553 562 579 582 599 602 620 629 631 649 659 669 673 681 692 703 719 722 740 749 751 770 773...

input:

Flam
1000000 100000
0001011110100110010000100111101011110101101110101110000001101110111011100001000111100011000110010111110101111010110100100111110011100110001000101111011101101110000000100110001100000100001101000010111010011101100011101000111100010000011011011000101110010010011101011001011110010010...

output:

9 13 29 32 49 59 70 72 83 91 103 119 121 139 142 153 170 173 190 199 209 212 223 240 249 260 270 273 282 292 303 312 329 333 348 360 370 380 381 399 409 419 423 439 450 453 469 473 482 493 510 511 522 540 543 560 563 573 581 600 609 619 622 633 649 652 669 672 681 700 709 720 723 731 750 752 770 779...

result:

ok 67939 matched

Test #44:

score: 100
Accepted
time: 18ms
memory: 5248kb

input:

Flim
1000000 100000
0010100100011011010111010001110101000111000000001010101000010011000001100001001100010111001110011010101001111001011001010111100000010100011011001110001001011000110101111000101101101111101111000100011111001101111010101010111000001010100110111100101111111110011110111110111100000111...

output:

2 12 30 40 49 52 62 79 88 93 109 120 121 133 143 153 163 171 182 199 210 219 223 239 250 251 269 280 290 300 301 319 321 333 342 360 370 373 381 393 401 420 422 439 449 453 470 472 489 499 502 511 521 540 542 552 570 573 581 600 601 620 623 632 643 659 662 672 682 699 709 712 723 733 743 752 762 773...

input:

Flam
1000000 100000
1001000101010001100101110101111011010100001110100001110010110011100000110010101111010011101110101110111010011100101101100111110001010011000010010101100100001110001010011100101000100110010010000001001110111111101000001110111011101101110110101101000101110001010100111010010110101001...

output:

2 20 21 32 42 51 61 80 83 93 103 111 122 140 149 153 169 171 181 199 209 219 230 231 250 260 262 272 283 292 309 313 322 331 341 360 363 372 389 391 401 413 422 433 443 459 463 471 481 493 502 513 529 533 541 552 563 580 582 593 602 612 622 640 650 652 670 680 681 691 709 719 729 739 749 753 761 772...

result:

ok 68101 matched

Test #45:

score: 100
Accepted
time: 18ms
memory: 5248kb

input:

Flim
1000000 100000
1111101111010011101011111001010110000110001100110110110000111100100110000100001001011101110011100100011010000100111110001110100111100101110100111010001101000110010000110001110000100010010011011010111000000010011101011111110110110011010110011001000100111001100100001000111100001111...

output:

2 11 22 31 42 59 63 79 90 92 102 112 123 132 142 153 163 171 189 191 210 220 223 240 243 252 269 280 282 292 309 313 322 332 349 360 370 379 389 396 401 418 430 433 447 453 469 479 482 491 510 520 523 532 550 553 563 580 581 591 602 620 630 639 643 651 662 679 690 700 710 713 721 732 743 759 763 779...

input:

Flam
1000000 100000
1100110001111111000100110010001101011000001111001011011110110100000101110100110110100011100100001101010100111000011011001011001010001001101001110000010110011001110110111001011110111011101001011000000010011001101101111000011011011001110000010000101011110001111101110111111100011001...

output:

10 12 22 33 41 60 70 80 89 100 103 118 129 131 142 152 163 180 182 191 209 213 221 232 249 259 261 280 283 291 303 320 323 338 350 353 363 379 381 391 401 413 421 439 449 459 462 471 482 491 510 512 521 539 543 560 562 573 583 592 602 620 623 639 650 658 662 672 683 693 709 713 729 739 749 759 761 7...

result:

ok 68278 matched

Test #46:

score: 100
Accepted
time: 18ms
memory: 5196kb

input:

Flim
1000000 100000
1010011011010011100000101100011000101001111011110000000010000111011110010010001101101110111101110000110001010011010110100100100111010111110010110011010001000011100100001000000101111000010001100100011100010011001110110100000110101010111001110001010011101010111110111110111011010001...

output:

9 13 22 32 43 55 61 80 81 93 103 113 130 133 142 159 169 179 182 199 208 213 229 239 249 259 269 272 282 291 303 312 330 340 350 360 363 372 389 391 402 412 429 439 443 452 470 479 489 499 503 518 530 540 542 551 563 580 582 591 609 613 622 640 641 659 669 672 690 699 709 712 722 735 742 753 762 771...

input:

Flam
1000000 100000
1101110111000100111001111000001010010001010110101111001001111010000010010110101011011110010011111000000101110101011101100111010101101101010101000110111001111111010111001110100100001111001100111011101101000011111101111010011010010110111000101011010011101010101111111010110000110011...

output:

10 19 21 32 50 60 69 73 90 92 110 120 122 132 150 159 170 172 183 200 210 213 222 239 249 259 263 279 282 299 309 320 323 333 350 352 370 372 390 397 409 413 422 432 449 459 461 479 489 498 503 519 521 540 541 559 570 572 582 599 601 613 630 640 641 653 663 680 682 692 703 719 723 739 743 753 763 77...

result:

ok 67834 matched

Test #47:

score: 100
Accepted
time: 18ms
memory: 5192kb

input:

Flim
1000000 100000
1010000111010000000101011001101101101101001001111011100001000001111000110100101000000101000100011010110111010110011101101001100110001100111001111011001000100000111110001100100111101010100001101100101101011000100101010001101001000001100010110101111100010101010000111100001011101001...

output:

9 20 21 40 49 53 68 73 84 93 110 119 129 139 141 153 161 179 182 199 201 220 222 231 243 253 262 272 290 292 309 319 323 332 350 360 369 372 381 393 409 411 421 439 442 451 469 479 483 499 510 517 529 539 542 552 563 579 589 592 603 620 630 640 643 660 661 671 689 691 702 712 722 740 741 752 763 772...

input:

Flam
1000000 100000
1000100111001010011111111111010111001010110101110111001100110001100110111011111101001010001110110010000001111011001100111101111010101000000011110001101010011101011100010101101110111100010111101000000000101010101011011000001101110100111111001110110110100100001111011010111000101101...

output:

9 19 22 31 50 60 69 71 83 93 109 120 123 132 143 152 162 171 190 192 209 212 222 232 243 259 270 272 290 291 309 313 329 335 343 359 363 377 382 398 402 419 422 440 450 451 469 479 487 492 509 513 522 540 541 552 563 572 587 593 603 611 621 632 641 659 663 679 690 691 710 712 722 740 743 753 763 773...

result:

ok 68249 matched

Test #48:

score: 100
Accepted
time: 13ms
memory: 5232kb

input:

Flim
1000000 100000
0000101100000010000100110001001101100010100101011100101101001100000111001110010000110001000010010010011101011101000111010100101001100110001101110101010000110101100001100010101000110101110110011111000001011011110001110011011010111110110101100101010100100111101001101011010101010100...

output:

7 20 27 33 49 52 70 72 87 91 101 120 130 139 142 160 163 179 190 191 210 219 221 239 243 259 262 273 290 292 309 319 330 333 342 352 362 372 383 400 409 412 430 439 449 451 463 473 489 499 510 520 522 539 542 552 561 572 583 592 610 620 630 640 649 660 662 673 690 692 702 720 721 733 743 752 762 771...

input:

Flam
1000000 100000
0010010001011110101111011100111011000010110001001110110110101110000011100100010111111111010011010101000000110010100101000101110010011101111110010010101000011100110100100110111100010111100101001001111010111111011000111110011000010001110111101111100110101100010111010010000101010011...

output:

2 11 30 39 50 59 70 72 82 92 108 112 130 131 149 153 170 172 182 199 202 219 221 231 243 252 263 280 281 300 303 312 322 331 343 360 362 379 381 400 410 412 429 433 450 453 461 474 489 500 503 519 530 539 549 552 569 571 583 593 609 612 630 640 649 651 662 678 682 699 701 712 722 739 742 760 770 772...

result:

ok 67858 matched

Test #49:

score: 100
Accepted
time: 14ms
memory: 5172kb

input:

Flim
1000000 100000
0010101011111010010011110100000010101011011111110110100011011110010110011011011101111001111101111100111101011100100000010101000101001111001110100100101110111111010111000111000010100110101011011010010001000111110111101101001101111110001100101010001110001101010100101110110010001111...

output:

9 13 23 39 42 52 63 71 81 93 101 112 130 139 149 151 170 173 181 191 210 212 229 239 249 252 269 279 290 293 310 319 330 333 342 359 370 373 382 391 401 411 423 440 443 452 469 471 482 493 503 519 523 540 543 553 562 571 582 599 603 619 623 640 650 652 662 672 683 699 702 719 723 733 743 760 762 772...

input:

Flam
1000000 100000
0001101001111101011111011001001100101101000110000111101110010111110100111010111110011001001010100010111111000110001100111000001100100101101011100101000000111101110110001110101110000111100011010100101010001000100100011000011011110000011110111001001001101101101011110010011100110100...

output:

10 11 23 40 50 52 63 73 83 99 102 119 123 139 143 160 170 173 181 193 209 213 221 239 242 259 262 273 281 292 302 312 323 339 342 352 362 379 382 393 403 419 430 432 443 451 462 479 482 499 501 512 522 540 542 560 562 580 581 599 610 611 622 639 641 652 663 673 689 692 709 712 723 739 749 752 768 77...

result:

ok 68046 matched

Test #50:

score: 100
Accepted
time: 18ms
memory: 5200kb

input:

Flim
1000000 100000
1001011110101101101100111000111111100111001000000101110100011110001010000110000010101010110100110111111000010100000000110010111011011001101010010000000011101101010100001101001100110001001101000001000100111001000100011000101010100000000100110101000001110011101011110010010011111101...

output:

9 19 29 31 42 52 63 71 89 100 102 119 129 131 143 152 170 180 190 200 202 213 222 239 250 253 262 272 289 300 303 311 323 340 349 352 370 373 389 392 410 413 430 433 442 459 462 479 489 493 510 513 523 539 549 552 569 579 589 591 603 613 622 639 643 658 670 671 682 700 701 713 721 733 743 753 769 77...

input:

Flam
1000000 100000
1101111011100101010110010110110100011010100000100111011101111000100110010100100111001110110010011100001101110000101011111000001010100011001111110001000100101010000100100101010101100010000111001110010110110100101011001110011000000011010011110011001001000111000000011000001000000101...

output:

10 12 29 33 42 60 69 80 90 92 102 119 129 139 143 160 170 173 187 192 209 219 221 240 242 253 261 272 289 293 303 320 322 333 343 360 370 380 390 392 401 413 423 440 449 459 461 480 482 491 501 519 523 533 543 559 569 579 582 599 609 613 629 639 650 652 662 678 681 691 709 711 729 731 749 759 761 78...

result:

ok 68184 matched

Test #51:

score: 100
Accepted
time: 18ms
memory: 5200kb

input:

Flim
1000000 100000
1100011101000100100101010011001111110001100000110100000100001000010001111111110011000010001110000000001110111111101110100100011010111000101011001000110000101101110111110110010000000111000111100001101110101001010111100110011110100100111010000101011100111000111010000010111101100000...

output:

10 20 23 32 42 56 62 73 83 93 101 113 123 133 150 160 170 173 181 199 202 211 222 232 243 253 269 273 283 292 309 319 323 332 350 360 361 380 382 392 402 419 429 432 441 453 462 479 483 498 501 520 529 540 541 558 562 571 589 599 603 620 621 639 642 660 663 671 689 693 702 713 721 731 741 752 762 77...

input:

Flam
1000000 100000
1000010010011101000000101001011101100000111100010000110001110100100111111011001111101001010000010111111011001010100000111100101101101001011000001001011001001010000000111100001000000110101011101001101100101010100101000111111110111001111011101010000000001011001101000000010011110110...

output:

9 11 22 33 43 59 70 71 82 99 103 119 130 139 150 159 169 177 181 199 209 220 223 231 242 251 270 279 289 293 301 320 322 333 350 359 370 372 383 393 401 412 429 433 450 452 462 473 483 491 508 520 523 539 549 551 563 580 582 591 601 619 622 632 641 660 661 672 690 693 703 712 729 731 743 759 770 771...

result:

ok 67778 matched