【原创】用电脑解答数学题

CleanLi(黎涛) 发表于2019-08-08    类别: 生活(30)    标签: 原创(65)

女儿给了一道数学题,计算从1开始,不带0的数字,第1000个是多少?

经过推算,算出答案是1331,但女儿说没有答案,不知道是否正确。用程序来暴力计算一下标准答案。

先搭建编译环境,在windows下安装gcc,网上找了一下步骤,记录一下方法:

1 到www.mingw.org,点Downloads,点mingw-get-setup.exe下载,运行,点击Install,安装到C:\MinGW,这是安装包管理器
2 包管理器安装好后,在其界面上选择mingw32-gcc-g++-bin,右键点击Mark for Installation,然后点击左上角的Installation菜单中的Apply changes选项,管理器开始在线安装。
3 安装完成后关闭包管理器,配置环境变量,打开控制面板 -> 系统 -> 高级系统设置 -> 高级 -> 环境变量,增加PATH,设为C:\MinGW\bin
4 打开命令行,运行gcc -v,出现版本号,安装成功
5 因为我习惯在ubuntu下的终端中编辑程序,所以又安装了Git,里面自带的终端用起来比较习惯
6 测试一下编译程序,先写了一个hello world,运行gcc m.c后没有反应。换到windows下的cmd窗口运行,弹出窗口找不到libmpc-3.dll的error,网上找到解决办法,运行mingw-get install mpc,可以编译了,但报error:

$ gcc m.c
In file included from c:\mingw\include\stdio.h:55,
                 from m.c:1:
c:\mingw\include\_mingw.h:174:10: fatal error: features.h: No such file or directory
 #include <features.h>
          ^~~~~~~~~~~~
compilation terminated.

于是在c:\mingw\include\下面创建了一个空的features.h,问题解决了。

源码如下:

#include <stdio.h>

int not_include_zero(int n)
{
    int b = 1, nb = 0;
    //printf("input n %d\n", n);
    while(n >= b){
        nb++;
        b*=10;
    }
    //printf("bn %d b %d\n", nb, b);
    while(nb--){
        b/=10;
        n-=n/b*b;
        //printf("---n %d b %d\n", n,b);
        if(n < b/10)return 0;
    }
    return 1;
}
int main()
{
    int count = 0;
    printf("hello world, let's start to computer the No 1000 no-zero number from 1.\n");

    for (int i = 1; i < 2000; i++){
        if(not_include_zero(i)){
            count ++;
            printf("i=%d count %d\n", i, count);
        }
        else{
            printf("i=%d including zero\n", i);
        }
        if(count == 1000){
            printf("\n\nThe answer is %d\n", i);
            break;
        }
    }
}

输出如下,与我们手动计算结果一致

hello world, let's start to computer the No 1000 no-zero number from 1.
i=1 count 1
i=2 count 2
i=3 count 3
i=4 count 4
i=5 count 5
i=6 count 6
i=7 count 7
i=8 count 8
i=9 count 9
i=10 including zero
i=11 count 10
i=12 count 11
i=13 count 12
i=14 count 13
i=15 count 14
i=16 count 15
i=17 count 16
i=18 count 17
i=19 count 18
i=20 including zero
i=21 count 19
i=22 count 20
i=23 count 21
i=24 count 22
i=25 count 23
i=26 count 24
i=27 count 25
i=28 count 26
i=29 count 27
i=30 including zero
i=31 count 28
i=32 count 29
i=33 count 30
i=34 count 31
i=35 count 32
i=36 count 33
i=37 count 34
i=38 count 35
i=39 count 36
i=40 including zero
i=41 count 37
i=42 count 38
i=43 count 39
i=44 count 40
i=45 count 41
i=46 count 42
i=47 count 43
i=48 count 44
i=49 count 45
i=50 including zero
i=51 count 46
i=52 count 47
i=53 count 48
i=54 count 49
i=55 count 50
i=56 count 51
i=57 count 52
i=58 count 53
i=59 count 54
i=60 including zero
i=61 count 55
i=62 count 56
i=63 count 57
i=64 count 58
i=65 count 59
i=66 count 60
i=67 count 61
i=68 count 62
i=69 count 63
i=70 including zero
i=71 count 64
i=72 count 65
i=73 count 66
i=74 count 67
i=75 count 68
i=76 count 69
i=77 count 70
i=78 count 71
i=79 count 72
i=80 including zero
i=81 count 73
i=82 count 74
i=83 count 75
i=84 count 76
i=85 count 77
i=86 count 78
i=87 count 79
i=88 count 80
i=89 count 81
i=90 including zero
i=91 count 82
i=92 count 83
i=93 count 84
i=94 count 85
i=95 count 86
i=96 count 87
i=97 count 88
i=98 count 89
i=99 count 90
i=100 including zero
i=101 including zero
i=102 including zero
i=103 including zero
i=104 including zero
i=105 including zero
i=106 including zero
i=107 including zero
i=108 including zero
i=109 including zero
i=110 including zero
i=111 count 91
i=112 count 92
i=113 count 93
i=114 count 94
i=115 count 95
i=116 count 96
i=117 count 97
i=118 count 98
i=119 count 99
i=120 including zero
i=121 count 100
i=122 count 101
i=123 count 102
i=124 count 103
i=125 count 104
i=126 count 105
i=127 count 106
i=128 count 107
i=129 count 108
i=130 including zero
i=131 count 109
i=132 count 110
i=133 count 111
i=134 count 112
i=135 count 113
i=136 count 114
i=137 count 115
i=138 count 116
i=139 count 117
i=140 including zero
i=141 count 118
i=142 count 119
i=143 count 120
i=144 count 121
i=145 count 122
i=146 count 123
i=147 count 124
i=148 count 125
i=149 count 126
i=150 including zero
i=151 count 127
i=152 count 128
i=153 count 129
i=154 count 130
i=155 count 131
i=156 count 132
i=157 count 133
i=158 count 134
i=159 count 135
i=160 including zero
i=161 count 136
i=162 count 137
i=163 count 138
i=164 count 139
i=165 count 140
i=166 count 141
i=167 count 142
i=168 count 143
i=169 count 144
i=170 including zero
i=171 count 145
i=172 count 146
i=173 count 147
i=174 count 148
i=175 count 149
i=176 count 150
i=177 count 151
i=178 count 152
i=179 count 153
i=180 including zero
i=181 count 154
i=182 count 155
i=183 count 156
i=184 count 157
i=185 count 158
i=186 count 159
i=187 count 160
i=188 count 161
i=189 count 162
i=190 including zero
i=191 count 163
i=192 count 164
i=193 count 165
i=194 count 166
i=195 count 167
i=196 count 168
i=197 count 169
i=198 count 170
i=199 count 171
i=200 including zero
i=201 including zero
i=202 including zero
i=203 including zero
i=204 including zero
i=205 including zero
i=206 including zero
i=207 including zero
i=208 including zero
i=209 including zero
i=210 including zero
i=211 count 172
i=212 count 173
i=213 count 174
i=214 count 175
i=215 count 176
i=216 count 177
i=217 count 178
i=218 count 179
i=219 count 180
i=220 including zero
i=221 count 181
i=222 count 182
i=223 count 183
i=224 count 184
i=225 count 185
i=226 count 186
i=227 count 187
i=228 count 188
i=229 count 189
i=230 including zero
i=231 count 190
i=232 count 191
i=233 count 192
i=234 count 193
i=235 count 194
i=236 count 195
i=237 count 196
i=238 count 197
i=239 count 198
i=240 including zero
i=241 count 199
i=242 count 200
i=243 count 201
i=244 count 202
i=245 count 203
i=246 count 204
i=247 count 205
i=248 count 206
i=249 count 207
i=250 including zero
i=251 count 208
i=252 count 209
i=253 count 210
i=254 count 211
i=255 count 212
i=256 count 213
i=257 count 214
i=258 count 215
i=259 count 216
i=260 including zero
i=261 count 217
i=262 count 218
i=263 count 219
i=264 count 220
i=265 count 221
i=266 count 222
i=267 count 223
i=268 count 224
i=269 count 225
i=270 including zero
i=271 count 226
i=272 count 227
i=273 count 228
i=274 count 229
i=275 count 230
i=276 count 231
i=277 count 232
i=278 count 233
i=279 count 234
i=280 including zero
i=281 count 235
i=282 count 236
i=283 count 237
i=284 count 238
i=285 count 239
i=286 count 240
i=287 count 241
i=288 count 242
i=289 count 243
i=290 including zero
i=291 count 244
i=292 count 245
i=293 count 246
i=294 count 247
i=295 count 248
i=296 count 249
i=297 count 250
i=298 count 251
i=299 count 252
i=300 including zero
i=301 including zero
i=302 including zero
i=303 including zero
i=304 including zero
i=305 including zero
i=306 including zero
i=307 including zero
i=308 including zero
i=309 including zero
i=310 including zero
i=311 count 253
i=312 count 254
i=313 count 255
i=314 count 256
i=315 count 257
i=316 count 258
i=317 count 259
i=318 count 260
i=319 count 261
i=320 including zero
i=321 count 262
i=322 count 263
i=323 count 264
i=324 count 265
i=325 count 266
i=326 count 267
i=327 count 268
i=328 count 269
i=329 count 270
i=330 including zero
i=331 count 271
i=332 count 272
i=333 count 273
i=334 count 274
i=335 count 275
i=336 count 276
i=337 count 277
i=338 count 278
i=339 count 279
i=340 including zero
i=341 count 280
i=342 count 281
i=343 count 282
i=344 count 283
i=345 count 284
i=346 count 285
i=347 count 286
i=348 count 287
i=349 count 288
i=350 including zero
i=351 count 289
i=352 count 290
i=353 count 291
i=354 count 292
i=355 count 293
i=356 count 294
i=357 count 295
i=358 count 296
i=359 count 297
i=360 including zero
i=361 count 298
i=362 count 299
i=363 count 300
i=364 count 301
i=365 count 302
i=366 count 303
i=367 count 304
i=368 count 305
i=369 count 306
i=370 including zero
i=371 count 307
i=372 count 308
i=373 count 309
i=374 count 310
i=375 count 311
i=376 count 312
i=377 count 313
i=378 count 314
i=379 count 315
i=380 including zero
i=381 count 316
i=382 count 317
i=383 count 318
i=384 count 319
i=385 count 320
i=386 count 321
i=387 count 322
i=388 count 323
i=389 count 324
i=390 including zero
i=391 count 325
i=392 count 326
i=393 count 327
i=394 count 328
i=395 count 329
i=396 count 330
i=397 count 331
i=398 count 332
i=399 count 333
i=400 including zero
i=401 including zero
i=402 including zero
i=403 including zero
i=404 including zero
i=405 including zero
i=406 including zero
i=407 including zero
i=408 including zero
i=409 including zero
i=410 including zero
i=411 count 334
i=412 count 335
i=413 count 336
i=414 count 337
i=415 count 338
i=416 count 339
i=417 count 340
i=418 count 341
i=419 count 342
i=420 including zero
i=421 count 343
i=422 count 344
i=423 count 345
i=424 count 346
i=425 count 347
i=426 count 348
i=427 count 349
i=428 count 350
i=429 count 351
i=430 including zero
i=431 count 352
i=432 count 353
i=433 count 354
i=434 count 355
i=435 count 356
i=436 count 357
i=437 count 358
i=438 count 359
i=439 count 360
i=440 including zero
i=441 count 361
i=442 count 362
i=443 count 363
i=444 count 364
i=445 count 365
i=446 count 366
i=447 count 367
i=448 count 368
i=449 count 369
i=450 including zero
i=451 count 370
i=452 count 371
i=453 count 372
i=454 count 373
i=455 count 374
i=456 count 375
i=457 count 376
i=458 count 377
i=459 count 378
i=460 including zero
i=461 count 379
i=462 count 380
i=463 count 381
i=464 count 382
i=465 count 383
i=466 count 384
i=467 count 385
i=468 count 386
i=469 count 387
i=470 including zero
i=471 count 388
i=472 count 389
i=473 count 390
i=474 count 391
i=475 count 392
i=476 count 393
i=477 count 394
i=478 count 395
i=479 count 396
i=480 including zero
i=481 count 397
i=482 count 398
i=483 count 399
i=484 count 400
i=485 count 401
i=486 count 402
i=487 count 403
i=488 count 404
i=489 count 405
i=490 including zero
i=491 count 406
i=492 count 407
i=493 count 408
i=494 count 409
i=495 count 410
i=496 count 411
i=497 count 412
i=498 count 413
i=499 count 414
i=500 including zero
i=501 including zero
i=502 including zero
i=503 including zero
i=504 including zero
i=505 including zero
i=506 including zero
i=507 including zero
i=508 including zero
i=509 including zero
i=510 including zero
i=511 count 415
i=512 count 416
i=513 count 417
i=514 count 418
i=515 count 419
i=516 count 420
i=517 count 421
i=518 count 422
i=519 count 423
i=520 including zero
i=521 count 424
i=522 count 425
i=523 count 426
i=524 count 427
i=525 count 428
i=526 count 429
i=527 count 430
i=528 count 431
i=529 count 432
i=530 including zero
i=531 count 433
i=532 count 434
i=533 count 435
i=534 count 436
i=535 count 437
i=536 count 438
i=537 count 439
i=538 count 440
i=539 count 441
i=540 including zero
i=541 count 442
i=542 count 443
i=543 count 444
i=544 count 445
i=545 count 446
i=546 count 447
i=547 count 448
i=548 count 449
i=549 count 450
i=550 including zero
i=551 count 451
i=552 count 452
i=553 count 453
i=554 count 454
i=555 count 455
i=556 count 456
i=557 count 457
i=558 count 458
i=559 count 459
i=560 including zero
i=561 count 460
i=562 count 461
i=563 count 462
i=564 count 463
i=565 count 464
i=566 count 465
i=567 count 466
i=568 count 467
i=569 count 468
i=570 including zero
i=571 count 469
i=572 count 470
i=573 count 471
i=574 count 472
i=575 count 473
i=576 count 474
i=577 count 475
i=578 count 476
i=579 count 477
i=580 including zero
i=581 count 478
i=582 count 479
i=583 count 480
i=584 count 481
i=585 count 482
i=586 count 483
i=587 count 484
i=588 count 485
i=589 count 486
i=590 including zero
i=591 count 487
i=592 count 488
i=593 count 489
i=594 count 490
i=595 count 491
i=596 count 492
i=597 count 493
i=598 count 494
i=599 count 495
i=600 including zero
i=601 including zero
i=602 including zero
i=603 including zero
i=604 including zero
i=605 including zero
i=606 including zero
i=607 including zero
i=608 including zero
i=609 including zero
i=610 including zero
i=611 count 496
i=612 count 497
i=613 count 498
i=614 count 499
i=615 count 500
i=616 count 501
i=617 count 502
i=618 count 503
i=619 count 504
i=620 including zero
i=621 count 505
i=622 count 506
i=623 count 507
i=624 count 508
i=625 count 509
i=626 count 510
i=627 count 511
i=628 count 512
i=629 count 513
i=630 including zero
i=631 count 514
i=632 count 515
i=633 count 516
i=634 count 517
i=635 count 518
i=636 count 519
i=637 count 520
i=638 count 521
i=639 count 522
i=640 including zero
i=641 count 523
i=642 count 524
i=643 count 525
i=644 count 526
i=645 count 527
i=646 count 528
i=647 count 529
i=648 count 530
i=649 count 531
i=650 including zero
i=651 count 532
i=652 count 533
i=653 count 534
i=654 count 535
i=655 count 536
i=656 count 537
i=657 count 538
i=658 count 539
i=659 count 540
i=660 including zero
i=661 count 541
i=662 count 542
i=663 count 543
i=664 count 544
i=665 count 545
i=666 count 546
i=667 count 547
i=668 count 548
i=669 count 549
i=670 including zero
i=671 count 550
i=672 count 551
i=673 count 552
i=674 count 553
i=675 count 554
i=676 count 555
i=677 count 556
i=678 count 557
i=679 count 558
i=680 including zero
i=681 count 559
i=682 count 560
i=683 count 561
i=684 count 562
i=685 count 563
i=686 count 564
i=687 count 565
i=688 count 566
i=689 count 567
i=690 including zero
i=691 count 568
i=692 count 569
i=693 count 570
i=694 count 571
i=695 count 572
i=696 count 573
i=697 count 574
i=698 count 575
i=699 count 576
i=700 including zero
i=701 including zero
i=702 including zero
i=703 including zero
i=704 including zero
i=705 including zero
i=706 including zero
i=707 including zero
i=708 including zero
i=709 including zero
i=710 including zero
i=711 count 577
i=712 count 578
i=713 count 579
i=714 count 580
i=715 count 581
i=716 count 582
i=717 count 583
i=718 count 584
i=719 count 585
i=720 including zero
i=721 count 586
i=722 count 587
i=723 count 588
i=724 count 589
i=725 count 590
i=726 count 591
i=727 count 592
i=728 count 593
i=729 count 594
i=730 including zero
i=731 count 595
i=732 count 596
i=733 count 597
i=734 count 598
i=735 count 599
i=736 count 600
i=737 count 601
i=738 count 602
i=739 count 603
i=740 including zero
i=741 count 604
i=742 count 605
i=743 count 606
i=744 count 607
i=745 count 608
i=746 count 609
i=747 count 610
i=748 count 611
i=749 count 612
i=750 including zero
i=751 count 613
i=752 count 614
i=753 count 615
i=754 count 616
i=755 count 617
i=756 count 618
i=757 count 619
i=758 count 620
i=759 count 621
i=760 including zero
i=761 count 622
i=762 count 623
i=763 count 624
i=764 count 625
i=765 count 626
i=766 count 627
i=767 count 628
i=768 count 629
i=769 count 630
i=770 including zero
i=771 count 631
i=772 count 632
i=773 count 633
i=774 count 634
i=775 count 635
i=776 count 636
i=777 count 637
i=778 count 638
i=779 count 639
i=780 including zero
i=781 count 640
i=782 count 641
i=783 count 642
i=784 count 643
i=785 count 644
i=786 count 645
i=787 count 646
i=788 count 647
i=789 count 648
i=790 including zero
i=791 count 649
i=792 count 650
i=793 count 651
i=794 count 652
i=795 count 653
i=796 count 654
i=797 count 655
i=798 count 656
i=799 count 657
i=800 including zero
i=801 including zero
i=802 including zero
i=803 including zero
i=804 including zero
i=805 including zero
i=806 including zero
i=807 including zero
i=808 including zero
i=809 including zero
i=810 including zero
i=811 count 658
i=812 count 659
i=813 count 660
i=814 count 661
i=815 count 662
i=816 count 663
i=817 count 664
i=818 count 665
i=819 count 666
i=820 including zero
i=821 count 667
i=822 count 668
i=823 count 669
i=824 count 670
i=825 count 671
i=826 count 672
i=827 count 673
i=828 count 674
i=829 count 675
i=830 including zero
i=831 count 676
i=832 count 677
i=833 count 678
i=834 count 679
i=835 count 680
i=836 count 681
i=837 count 682
i=838 count 683
i=839 count 684
i=840 including zero
i=841 count 685
i=842 count 686
i=843 count 687
i=844 count 688
i=845 count 689
i=846 count 690
i=847 count 691
i=848 count 692
i=849 count 693
i=850 including zero
i=851 count 694
i=852 count 695
i=853 count 696
i=854 count 697
i=855 count 698
i=856 count 699
i=857 count 700
i=858 count 701
i=859 count 702
i=860 including zero
i=861 count 703
i=862 count 704
i=863 count 705
i=864 count 706
i=865 count 707
i=866 count 708
i=867 count 709
i=868 count 710
i=869 count 711
i=870 including zero
i=871 count 712
i=872 count 713
i=873 count 714
i=874 count 715
i=875 count 716
i=876 count 717
i=877 count 718
i=878 count 719
i=879 count 720
i=880 including zero
i=881 count 721
i=882 count 722
i=883 count 723
i=884 count 724
i=885 count 725
i=886 count 726
i=887 count 727
i=888 count 728
i=889 count 729
i=890 including zero
i=891 count 730
i=892 count 731
i=893 count 732
i=894 count 733
i=895 count 734
i=896 count 735
i=897 count 736
i=898 count 737
i=899 count 738
i=900 including zero
i=901 including zero
i=902 including zero
i=903 including zero
i=904 including zero
i=905 including zero
i=906 including zero
i=907 including zero
i=908 including zero
i=909 including zero
i=910 including zero
i=911 count 739
i=912 count 740
i=913 count 741
i=914 count 742
i=915 count 743
i=916 count 744
i=917 count 745
i=918 count 746
i=919 count 747
i=920 including zero
i=921 count 748
i=922 count 749
i=923 count 750
i=924 count 751
i=925 count 752
i=926 count 753
i=927 count 754
i=928 count 755
i=929 count 756
i=930 including zero
i=931 count 757
i=932 count 758
i=933 count 759
i=934 count 760
i=935 count 761
i=936 count 762
i=937 count 763
i=938 count 764
i=939 count 765
i=940 including zero
i=941 count 766
i=942 count 767
i=943 count 768
i=944 count 769
i=945 count 770
i=946 count 771
i=947 count 772
i=948 count 773
i=949 count 774
i=950 including zero
i=951 count 775
i=952 count 776
i=953 count 777
i=954 count 778
i=955 count 779
i=956 count 780
i=957 count 781
i=958 count 782
i=959 count 783
i=960 including zero
i=961 count 784
i=962 count 785
i=963 count 786
i=964 count 787
i=965 count 788
i=966 count 789
i=967 count 790
i=968 count 791
i=969 count 792
i=970 including zero
i=971 count 793
i=972 count 794
i=973 count 795
i=974 count 796
i=975 count 797
i=976 count 798
i=977 count 799
i=978 count 800
i=979 count 801
i=980 including zero
i=981 count 802
i=982 count 803
i=983 count 804
i=984 count 805
i=985 count 806
i=986 count 807
i=987 count 808
i=988 count 809
i=989 count 810
i=990 including zero
i=991 count 811
i=992 count 812
i=993 count 813
i=994 count 814
i=995 count 815
i=996 count 816
i=997 count 817
i=998 count 818
i=999 count 819
i=1000 including zero
i=1001 including zero
i=1002 including zero
i=1003 including zero
i=1004 including zero
i=1005 including zero
i=1006 including zero
i=1007 including zero
i=1008 including zero
i=1009 including zero
i=1010 including zero
i=1011 including zero
i=1012 including zero
i=1013 including zero
i=1014 including zero
i=1015 including zero
i=1016 including zero
i=1017 including zero
i=1018 including zero
i=1019 including zero
i=1020 including zero
i=1021 including zero
i=1022 including zero
i=1023 including zero
i=1024 including zero
i=1025 including zero
i=1026 including zero
i=1027 including zero
i=1028 including zero
i=1029 including zero
i=1030 including zero
i=1031 including zero
i=1032 including zero
i=1033 including zero
i=1034 including zero
i=1035 including zero
i=1036 including zero
i=1037 including zero
i=1038 including zero
i=1039 including zero
i=1040 including zero
i=1041 including zero
i=1042 including zero
i=1043 including zero
i=1044 including zero
i=1045 including zero
i=1046 including zero
i=1047 including zero
i=1048 including zero
i=1049 including zero
i=1050 including zero
i=1051 including zero
i=1052 including zero
i=1053 including zero
i=1054 including zero
i=1055 including zero
i=1056 including zero
i=1057 including zero
i=1058 including zero
i=1059 including zero
i=1060 including zero
i=1061 including zero
i=1062 including zero
i=1063 including zero
i=1064 including zero
i=1065 including zero
i=1066 including zero
i=1067 including zero
i=1068 including zero
i=1069 including zero
i=1070 including zero
i=1071 including zero
i=1072 including zero
i=1073 including zero
i=1074 including zero
i=1075 including zero
i=1076 including zero
i=1077 including zero
i=1078 including zero
i=1079 including zero
i=1080 including zero
i=1081 including zero
i=1082 including zero
i=1083 including zero
i=1084 including zero
i=1085 including zero
i=1086 including zero
i=1087 including zero
i=1088 including zero
i=1089 including zero
i=1090 including zero
i=1091 including zero
i=1092 including zero
i=1093 including zero
i=1094 including zero
i=1095 including zero
i=1096 including zero
i=1097 including zero
i=1098 including zero
i=1099 including zero
i=1100 including zero
i=1101 including zero
i=1102 including zero
i=1103 including zero
i=1104 including zero
i=1105 including zero
i=1106 including zero
i=1107 including zero
i=1108 including zero
i=1109 including zero
i=1110 including zero
i=1111 count 820
i=1112 count 821
i=1113 count 822
i=1114 count 823
i=1115 count 824
i=1116 count 825
i=1117 count 826
i=1118 count 827
i=1119 count 828
i=1120 including zero
i=1121 count 829
i=1122 count 830
i=1123 count 831
i=1124 count 832
i=1125 count 833
i=1126 count 834
i=1127 count 835
i=1128 count 836
i=1129 count 837
i=1130 including zero
i=1131 count 838
i=1132 count 839
i=1133 count 840
i=1134 count 841
i=1135 count 842
i=1136 count 843
i=1137 count 844
i=1138 count 845
i=1139 count 846
i=1140 including zero
i=1141 count 847
i=1142 count 848
i=1143 count 849
i=1144 count 850
i=1145 count 851
i=1146 count 852
i=1147 count 853
i=1148 count 854
i=1149 count 855
i=1150 including zero
i=1151 count 856
i=1152 count 857
i=1153 count 858
i=1154 count 859
i=1155 count 860
i=1156 count 861
i=1157 count 862
i=1158 count 863
i=1159 count 864
i=1160 including zero
i=1161 count 865
i=1162 count 866
i=1163 count 867
i=1164 count 868
i=1165 count 869
i=1166 count 870
i=1167 count 871
i=1168 count 872
i=1169 count 873
i=1170 including zero
i=1171 count 874
i=1172 count 875
i=1173 count 876
i=1174 count 877
i=1175 count 878
i=1176 count 879
i=1177 count 880
i=1178 count 881
i=1179 count 882
i=1180 including zero
i=1181 count 883
i=1182 count 884
i=1183 count 885
i=1184 count 886
i=1185 count 887
i=1186 count 888
i=1187 count 889
i=1188 count 890
i=1189 count 891
i=1190 including zero
i=1191 count 892
i=1192 count 893
i=1193 count 894
i=1194 count 895
i=1195 count 896
i=1196 count 897
i=1197 count 898
i=1198 count 899
i=1199 count 900
i=1200 including zero
i=1201 including zero
i=1202 including zero
i=1203 including zero
i=1204 including zero
i=1205 including zero
i=1206 including zero
i=1207 including zero
i=1208 including zero
i=1209 including zero
i=1210 including zero
i=1211 count 901
i=1212 count 902
i=1213 count 903
i=1214 count 904
i=1215 count 905
i=1216 count 906
i=1217 count 907
i=1218 count 908
i=1219 count 909
i=1220 including zero
i=1221 count 910
i=1222 count 911
i=1223 count 912
i=1224 count 913
i=1225 count 914
i=1226 count 915
i=1227 count 916
i=1228 count 917
i=1229 count 918
i=1230 including zero
i=1231 count 919
i=1232 count 920
i=1233 count 921
i=1234 count 922
i=1235 count 923
i=1236 count 924
i=1237 count 925
i=1238 count 926
i=1239 count 927
i=1240 including zero
i=1241 count 928
i=1242 count 929
i=1243 count 930
i=1244 count 931
i=1245 count 932
i=1246 count 933
i=1247 count 934
i=1248 count 935
i=1249 count 936
i=1250 including zero
i=1251 count 937
i=1252 count 938
i=1253 count 939
i=1254 count 940
i=1255 count 941
i=1256 count 942
i=1257 count 943
i=1258 count 944
i=1259 count 945
i=1260 including zero
i=1261 count 946
i=1262 count 947
i=1263 count 948
i=1264 count 949
i=1265 count 950
i=1266 count 951
i=1267 count 952
i=1268 count 953
i=1269 count 954
i=1270 including zero
i=1271 count 955
i=1272 count 956
i=1273 count 957
i=1274 count 958
i=1275 count 959
i=1276 count 960
i=1277 count 961
i=1278 count 962
i=1279 count 963
i=1280 including zero
i=1281 count 964
i=1282 count 965
i=1283 count 966
i=1284 count 967
i=1285 count 968
i=1286 count 969
i=1287 count 970
i=1288 count 971
i=1289 count 972
i=1290 including zero
i=1291 count 973
i=1292 count 974
i=1293 count 975
i=1294 count 976
i=1295 count 977
i=1296 count 978
i=1297 count 979
i=1298 count 980
i=1299 count 981
i=1300 including zero
i=1301 including zero
i=1302 including zero
i=1303 including zero
i=1304 including zero
i=1305 including zero
i=1306 including zero
i=1307 including zero
i=1308 including zero
i=1309 including zero
i=1310 including zero
i=1311 count 982
i=1312 count 983
i=1313 count 984
i=1314 count 985
i=1315 count 986
i=1316 count 987
i=1317 count 988
i=1318 count 989
i=1319 count 990
i=1320 including zero
i=1321 count 991
i=1322 count 992
i=1323 count 993
i=1324 count 994
i=1325 count 995
i=1326 count 996
i=1327 count 997
i=1328 count 998
i=1329 count 999
i=1330 including zero
i=1331 count 1000


The answer is 1331

相关文章

   2023-12-29 【转载】夫妻之间最好的关系:“三个字”
   2023-09-23 【原创】刀郎的歌
   2023-08-27 【原创】电影《信条》
   2023-08-20 【原创】电影《毒舌律师》观后感
   2020-07-19 【原创】影评20200719