首页 > 其他 > 详细

个人总结:字典并非完全无序

时间:2016-01-27 18:55:10      阅读:213      评论:0      收藏:0      [点我收藏+]

都说字典是无序,我却发现,我们把数字当成键的时候,10000条也是有序,为什么呢,看了内置方法,我发现:

字典的键,是hash()之后找到内存地址,存入字典的而hash(1)的值是不会的,hash(“1”)就不一样了!

#!/usr/bin/env python3
# -*- coding:utf-8 -*-
dic = {}
dic1 = {}
for i in range(1000):
    dic[i] = i**2
    dic1[str(i)] = i**2
# 这个有序
print(dic)
# 这个无序
print(dic1)

结果:

D:\Python\python.exe D:/untitled2/day2/1.py
{0: 0, 1: 1, 2: 4, 3: 9, 4: 16, 5: 25, 6: 36, 7: 49, 8: 64, 9: 81, 10: 100, 11: 121, 12: 144, 13: 169, 14: 196, 15: 225, 16: 256, 17: 289, 18: 324, 19: 361, 20: 400, 21: 441, 22: 484, 23: 529, 24: 576, 25: 625, 26: 676, 27: 729, 28: 784, 29: 841, 30: 900, 31: 961, 32: 1024, 33: 1089, 34: 1156, 35: 1225, 36: 1296, 37: 1369, 38: 1444, 39: 1521, 40: 1600, 41: 1681, 42: 1764, 43: 1849, 44: 1936, 45: 2025, 46: 2116, 47: 2209, 48: 2304, 49: 2401, 50: 2500, 51: 2601, 52: 2704, 53: 2809, 54: 2916, 55: 3025, 56: 3136, 57: 3249, 58: 3364, 59: 3481, 60: 3600, 61: 3721, 62: 3844, 63: 3969, 64: 4096, 65: 4225, 66: 4356, 67: 4489, 68: 4624, 69: 4761, 70: 4900, 71: 5041, 72: 5184, 73: 5329, 74: 5476, 75: 5625, 76: 5776, 77: 5929, 78: 6084, 79: 6241, 80: 6400, 81: 6561, 82: 6724, 83: 6889, 84: 7056, 85: 7225, 86: 7396, 87: 7569, 88: 7744, 89: 7921, 90: 8100, 91: 8281, 92: 8464, 93: 8649, 94: 8836, 95: 9025, 96: 9216, 97: 9409, 98: 9604, 99: 9801, 100: 10000, 101: 10201, 102: 10404, 103: 10609, 104: 10816, 105: 11025, 106: 11236, 107: 11449, 108: 11664, 109: 11881, 110: 12100, 111: 12321, 112: 12544, 113: 12769, 114: 12996, 115: 13225, 116: 13456, 117: 13689, 118: 13924, 119: 14161, 120: 14400, 121: 14641, 122: 14884, 123: 15129, 124: 15376, 125: 15625, 126: 15876, 127: 16129, 128: 16384, 129: 16641, 130: 16900, 131: 17161, 132: 17424, 133: 17689, 134: 17956, 135: 18225, 136: 18496, 137: 18769, 138: 19044, 139: 19321, 140: 19600, 141: 19881, 142: 20164, 143: 20449, 144: 20736, 145: 21025, 146: 21316, 147: 21609, 148: 21904, 149: 22201, 150: 22500, 151: 22801, 152: 23104, 153: 23409, 154: 23716, 155: 24025, 156: 24336, 157: 24649, 158: 24964, 159: 25281, 160: 25600, 161: 25921, 162: 26244, 163: 26569, 164: 26896, 165: 27225, 166: 27556, 167: 27889, 168: 28224, 169: 28561, 170: 28900, 171: 29241, 172: 29584, 173: 29929, 174: 30276, 175: 30625, 176: 30976, 177: 31329, 178: 31684, 179: 32041, 180: 32400, 181: 32761, 182: 33124, 183: 33489, 184: 33856, 185: 34225, 186: 34596, 187: 34969, 188: 35344, 189: 35721, 190: 36100, 191: 36481, 192: 36864, 193: 37249, 194: 37636, 195: 38025, 196: 38416, 197: 38809, 198: 39204, 199: 39601, 200: 40000, 201: 40401, 202: 40804, 203: 41209, 204: 41616, 205: 42025, 206: 42436, 207: 42849, 208: 43264, 209: 43681, 210: 44100, 211: 44521, 212: 44944, 213: 45369, 214: 45796, 215: 46225, 216: 46656, 217: 47089, 218: 47524, 219: 47961, 220: 48400, 221: 48841, 222: 49284, 223: 49729, 224: 50176, 225: 50625, 226: 51076, 227: 51529, 228: 51984, 229: 52441, 230: 52900, 231: 53361, 232: 53824, 233: 54289, 234: 54756, 235: 55225, 236: 55696, 237: 56169, 238: 56644, 239: 57121, 240: 57600, 241: 58081, 242: 58564, 243: 59049, 244: 59536, 245: 60025, 246: 60516, 247: 61009, 248: 61504, 249: 62001, 250: 62500, 251: 63001, 252: 63504, 253: 64009, 254: 64516, 255: 65025, 256: 65536, 257: 66049, 258: 66564, 259: 67081, 260: 67600, 261: 68121, 262: 68644, 263: 69169, 264: 69696, 265: 70225, 266: 70756, 267: 71289, 268: 71824, 269: 72361, 270: 72900, 271: 73441, 272: 73984, 273: 74529, 274: 75076, 275: 75625, 276: 76176, 277: 76729, 278: 77284, 279: 77841, 280: 78400, 281: 78961, 282: 79524, 283: 80089, 284: 80656, 285: 81225, 286: 81796, 287: 82369, 288: 82944, 289: 83521, 290: 84100, 291: 84681, 292: 85264, 293: 85849, 294: 86436, 295: 87025, 296: 87616, 297: 88209, 298: 88804, 299: 89401, 300: 90000, 301: 90601, 302: 91204, 303: 91809, 304: 92416, 305: 93025, 306: 93636, 307: 94249, 308: 94864, 309: 95481, 310: 96100, 311: 96721, 312: 97344, 313: 97969, 314: 98596, 315: 99225, 316: 99856, 317: 100489, 318: 101124, 319: 101761, 320: 102400, 321: 103041, 322: 103684, 323: 104329, 324: 104976, 325: 105625, 326: 106276, 327: 106929, 328: 107584, 329: 108241, 330: 108900, 331: 109561, 332: 110224, 333: 110889, 334: 111556, 335: 112225, 336: 112896, 337: 113569, 338: 114244, 339: 114921, 340: 115600, 341: 116281, 342: 116964, 343: 117649, 344: 118336, 345: 119025, 346: 119716, 347: 120409, 348: 121104, 349: 121801, 350: 122500, 351: 123201, 352: 123904, 353: 124609, 354: 125316, 355: 126025, 356: 126736, 357: 127449, 358: 128164, 359: 128881, 360: 129600, 361: 130321, 362: 131044, 363: 131769, 364: 132496, 365: 133225, 366: 133956, 367: 134689, 368: 135424, 369: 136161, 370: 136900, 371: 137641, 372: 138384, 373: 139129, 374: 139876, 375: 140625, 376: 141376, 377: 142129, 378: 142884, 379: 143641, 380: 144400, 381: 145161, 382: 145924, 383: 146689, 384: 147456, 385: 148225, 386: 148996, 387: 149769, 388: 150544, 389: 151321, 390: 152100, 391: 152881, 392: 153664, 393: 154449, 394: 155236, 395: 156025, 396: 156816, 397: 157609, 398: 158404, 399: 159201, 400: 160000, 401: 160801, 402: 161604, 403: 162409, 404: 163216, 405: 164025, 406: 164836, 407: 165649, 408: 166464, 409: 167281, 410: 168100, 411: 168921, 412: 169744, 413: 170569, 414: 171396, 415: 172225, 416: 173056, 417: 173889, 418: 174724, 419: 175561, 420: 176400, 421: 177241, 422: 178084, 423: 178929, 424: 179776, 425: 180625, 426: 181476, 427: 182329, 428: 183184, 429: 184041, 430: 184900, 431: 185761, 432: 186624, 433: 187489, 434: 188356, 435: 189225, 436: 190096, 437: 190969, 438: 191844, 439: 192721, 440: 193600, 441: 194481, 442: 195364, 443: 196249, 444: 197136, 445: 198025, 446: 198916, 447: 199809, 448: 200704, 449: 201601, 450: 202500, 451: 203401, 452: 204304, 453: 205209, 454: 206116, 455: 207025, 456: 207936, 457: 208849, 458: 209764, 459: 210681, 460: 211600, 461: 212521, 462: 213444, 463: 214369, 464: 215296, 465: 216225, 466: 217156, 467: 218089, 468: 219024, 469: 219961, 470: 220900, 471: 221841, 472: 222784, 473: 223729, 474: 224676, 475: 225625, 476: 226576, 477: 227529, 478: 228484, 479: 229441, 480: 230400, 481: 231361, 482: 232324, 483: 233289, 484: 234256, 485: 235225, 486: 236196, 487: 237169, 488: 238144, 489: 239121, 490: 240100, 491: 241081, 492: 242064, 493: 243049, 494: 244036, 495: 245025, 496: 246016, 497: 247009, 498: 248004, 499: 249001, 500: 250000, 501: 251001, 502: 252004, 503: 253009, 504: 254016, 505: 255025, 506: 256036, 507: 257049, 508: 258064, 509: 259081, 510: 260100, 511: 261121, 512: 262144, 513: 263169, 514: 264196, 515: 265225, 516: 266256, 517: 267289, 518: 268324, 519: 269361, 520: 270400, 521: 271441, 522: 272484, 523: 273529, 524: 274576, 525: 275625, 526: 276676, 527: 277729, 528: 278784, 529: 279841, 530: 280900, 531: 281961, 532: 283024, 533: 284089, 534: 285156, 535: 286225, 536: 287296, 537: 288369, 538: 289444, 539: 290521, 540: 291600, 541: 292681, 542: 293764, 543: 294849, 544: 295936, 545: 297025, 546: 298116, 547: 299209, 548: 300304, 549: 301401, 550: 302500, 551: 303601, 552: 304704, 553: 305809, 554: 306916, 555: 308025, 556: 309136, 557: 310249, 558: 311364, 559: 312481, 560: 313600, 561: 314721, 562: 315844, 563: 316969, 564: 318096, 565: 319225, 566: 320356, 567: 321489, 568: 322624, 569: 323761, 570: 324900, 571: 326041, 572: 327184, 573: 328329, 574: 329476, 575: 330625, 576: 331776, 577: 332929, 578: 334084, 579: 335241, 580: 336400, 581: 337561, 582: 338724, 583: 339889, 584: 341056, 585: 342225, 586: 343396, 587: 344569, 588: 345744, 589: 346921, 590: 348100, 591: 349281, 592: 350464, 593: 351649, 594: 352836, 595: 354025, 596: 355216, 597: 356409, 598: 357604, 599: 358801, 600: 360000, 601: 361201, 602: 362404, 603: 363609, 604: 364816, 605: 366025, 606: 367236, 607: 368449, 608: 369664, 609: 370881, 610: 372100, 611: 373321, 612: 374544, 613: 375769, 614: 376996, 615: 378225, 616: 379456, 617: 380689, 618: 381924, 619: 383161, 620: 384400, 621: 385641, 622: 386884, 623: 388129, 624: 389376, 625: 390625, 626: 391876, 627: 393129, 628: 394384, 629: 395641, 630: 396900, 631: 398161, 632: 399424, 633: 400689, 634: 401956, 635: 403225, 636: 404496, 637: 405769, 638: 407044, 639: 408321, 640: 409600, 641: 410881, 642: 412164, 643: 413449, 644: 414736, 645: 416025, 646: 417316, 647: 418609, 648: 419904, 649: 421201, 650: 422500, 651: 423801, 652: 425104, 653: 426409, 654: 427716, 655: 429025, 656: 430336, 657: 431649, 658: 432964, 659: 434281, 660: 435600, 661: 436921, 662: 438244, 663: 439569, 664: 440896, 665: 442225, 666: 443556, 667: 444889, 668: 446224, 669: 447561, 670: 448900, 671: 450241, 672: 451584, 673: 452929, 674: 454276, 675: 455625, 676: 456976, 677: 458329, 678: 459684, 679: 461041, 680: 462400, 681: 463761, 682: 465124, 683: 466489, 684: 467856, 685: 469225, 686: 470596, 687: 471969, 688: 473344, 689: 474721, 690: 476100, 691: 477481, 692: 478864, 693: 480249, 694: 481636, 695: 483025, 696: 484416, 697: 485809, 698: 487204, 699: 488601, 700: 490000, 701: 491401, 702: 492804, 703: 494209, 704: 495616, 705: 497025, 706: 498436, 707: 499849, 708: 501264, 709: 502681, 710: 504100, 711: 505521, 712: 506944, 713: 508369, 714: 509796, 715: 511225, 716: 512656, 717: 514089, 718: 515524, 719: 516961, 720: 518400, 721: 519841, 722: 521284, 723: 522729, 724: 524176, 725: 525625, 726: 527076, 727: 528529, 728: 529984, 729: 531441, 730: 532900, 731: 534361, 732: 535824, 733: 537289, 734: 538756, 735: 540225, 736: 541696, 737: 543169, 738: 544644, 739: 546121, 740: 547600, 741: 549081, 742: 550564, 743: 552049, 744: 553536, 745: 555025, 746: 556516, 747: 558009, 748: 559504, 749: 561001, 750: 562500, 751: 564001, 752: 565504, 753: 567009, 754: 568516, 755: 570025, 756: 571536, 757: 573049, 758: 574564, 759: 576081, 760: 577600, 761: 579121, 762: 580644, 763: 582169, 764: 583696, 765: 585225, 766: 586756, 767: 588289, 768: 589824, 769: 591361, 770: 592900, 771: 594441, 772: 595984, 773: 597529, 774: 599076, 775: 600625, 776: 602176, 777: 603729, 778: 605284, 779: 606841, 780: 608400, 781: 609961, 782: 611524, 783: 613089, 784: 614656, 785: 616225, 786: 617796, 787: 619369, 788: 620944, 789: 622521, 790: 624100, 791: 625681, 792: 627264, 793: 628849, 794: 630436, 795: 632025, 796: 633616, 797: 635209, 798: 636804, 799: 638401, 800: 640000, 801: 641601, 802: 643204, 803: 644809, 804: 646416, 805: 648025, 806: 649636, 807: 651249, 808: 652864, 809: 654481, 810: 656100, 811: 657721, 812: 659344, 813: 660969, 814: 662596, 815: 664225, 816: 665856, 817: 667489, 818: 669124, 819: 670761, 820: 672400, 821: 674041, 822: 675684, 823: 677329, 824: 678976, 825: 680625, 826: 682276, 827: 683929, 828: 685584, 829: 687241, 830: 688900, 831: 690561, 832: 692224, 833: 693889, 834: 695556, 835: 697225, 836: 698896, 837: 700569, 838: 702244, 839: 703921, 840: 705600, 841: 707281, 842: 708964, 843: 710649, 844: 712336, 845: 714025, 846: 715716, 847: 717409, 848: 719104, 849: 720801, 850: 722500, 851: 724201, 852: 725904, 853: 727609, 854: 729316, 855: 731025, 856: 732736, 857: 734449, 858: 736164, 859: 737881, 860: 739600, 861: 741321, 862: 743044, 863: 744769, 864: 746496, 865: 748225, 866: 749956, 867: 751689, 868: 753424, 869: 755161, 870: 756900, 871: 758641, 872: 760384, 873: 762129, 874: 763876, 875: 765625, 876: 767376, 877: 769129, 878: 770884, 879: 772641, 880: 774400, 881: 776161, 882: 777924, 883: 779689, 884: 781456, 885: 783225, 886: 784996, 887: 786769, 888: 788544, 889: 790321, 890: 792100, 891: 793881, 892: 795664, 893: 797449, 894: 799236, 895: 801025, 896: 802816, 897: 804609, 898: 806404, 899: 808201, 900: 810000, 901: 811801, 902: 813604, 903: 815409, 904: 817216, 905: 819025, 906: 820836, 907: 822649, 908: 824464, 909: 826281, 910: 828100, 911: 829921, 912: 831744, 913: 833569, 914: 835396, 915: 837225, 916: 839056, 917: 840889, 918: 842724, 919: 844561, 920: 846400, 921: 848241, 922: 850084, 923: 851929, 924: 853776, 925: 855625, 926: 857476, 927: 859329, 928: 861184, 929: 863041, 930: 864900, 931: 866761, 932: 868624, 933: 870489, 934: 872356, 935: 874225, 936: 876096, 937: 877969, 938: 879844, 939: 881721, 940: 883600, 941: 885481, 942: 887364, 943: 889249, 944: 891136, 945: 893025, 946: 894916, 947: 896809, 948: 898704, 949: 900601, 950: 902500, 951: 904401, 952: 906304, 953: 908209, 954: 910116, 955: 912025, 956: 913936, 957: 915849, 958: 917764, 959: 919681, 960: 921600, 961: 923521, 962: 925444, 963: 927369, 964: 929296, 965: 931225, 966: 933156, 967: 935089, 968: 937024, 969: 938961, 970: 940900, 971: 942841, 972: 944784, 973: 946729, 974: 948676, 975: 950625, 976: 952576, 977: 954529, 978: 956484, 979: 958441, 980: 960400, 981: 962361, 982: 964324, 983: 966289, 984: 968256, 985: 970225, 986: 972196, 987: 974169, 988: 976144, 989: 978121, 990: 980100, 991: 982081, 992: 984064, 993: 986049, 994: 988036, 995: 990025, 996: 992016, 997: 994009, 998: 996004, 999: 998001}
{167: 27889, 394: 155236, 363: 131769, 341: 116281, 811: 657721, 251: 63001, 456: 207936, 532: 283024, 763: 582169, 499: 249001, 125: 15625, 759: 576081, 426: 181476, 114: 12996, 808: 652864, 274: 75076, 795: 632025, 59: 3481, 10: 100, 547: 299209, 940: 883600, 688: 473344, 255: 65025, 771: 594441, 328: 107584, 22: 484, 565: 319225, 47: 2209, 276: 76176, 74: 5476, 126: 15876, 7: 49, 516: 266256, 833: 693889, 469: 219961, 69: 4761, 132: 17424, 86: 7396, 435: 189225, 858: 736164, 79: 6241, 944: 891136, 823: 677329, 247: 61009, 76: 5776, 343: 117649, 195: 38025, 894: 799236, 500: 250000, 643: 413449, 417: 173889, 966: 933156, 753: 567009, 748: 559504, 139: 19321, 702: 492804, 809: 654481, 766: 586756, 888: 788544, 982: 964324, 667: 444889, 13: 169, 852: 725904, 546: 298116, 657: 431649, 325: 105625, 470: 220900, 937: 877969, 269: 72361, 561: 314721, 509: 259081, 901: 811801, 110: 12100, 942: 887364, 199: 39601, 664: 440896, 465: 216225, 690: 476100, 567: 321489, 46: 2116, 921: 848241, 761: 579121, 529: 279841, 113: 12769, 316: 99856, 424: 179776, 994: 988036, 544: 295936, 29: 841, 336: 112896, 607: 368449, 249: 62001, 425: 180625, 517: 267289, 159: 25281, 103: 10609, 144: 20736, 18: 324, 770: 592900, 264: 69696, 285: 81225, 682: 465124, 186: 34596, 136: 18496, 283: 80089, 917: 840889, 725: 525625, 652: 425104, 874: 763876, 813: 660969, 345: 119025, 97: 9409, 936: 876096, 863: 744769, 890: 792100, 55: 3025, 957: 915849, 177: 31329, 572: 327184, 395: 156025, 654: 427716, 117: 13689, 622: 386884, 862: 743044, 769: 591361, 366: 133956, 693: 480249, 317: 100489, 61: 3721, 871: 758641, 256: 65536, 106: 11236, 802: 643204, 535: 286225, 282: 79524, 439: 192721, 799: 638401, 90: 8100, 407: 165649, 960: 921600, 701: 491401, 800: 640000, 171: 29241, 192: 36864, 785: 616225, 381: 145161, 536: 287296, 212: 44944, 627: 393129, 616: 379456, 383: 146689, 781: 609961, 238: 56644, 221: 48841, 849: 720801, 289: 83521, 306: 93636, 408: 166464, 821: 674041, 322: 103684, 16: 256, 115: 13225, 321: 103041, 334: 111556, 999: 998001, 898: 806404, 640: 409600, 478: 228484, 959: 919681, 558: 311364, 433: 187489, 486: 236196, 286: 81796, 307: 94249, 231: 53361, 131: 17161, 64: 4096, 952: 906304, 870: 756900, 511: 261121, 631: 398161, 670: 448900, 443: 196249, 791: 625681, 687: 471969, 508: 258064, 152: 23104, 914: 835396, 520: 270400, 452: 204304, 112: 12544, 943: 889249, 839: 703921, 3: 9, 271: 73441, 794: 630436, 916: 839056, 166: 27556, 723: 522729, 447: 199809, 807: 651249, 352: 123904, 427: 182329, 52: 2704, 481: 231361, 24: 576, 601: 361201, 479: 229441, 399: 159201, 315: 99225, 389: 151321, 931: 866761, 745: 555025, 1: 1, 361: 130321, 385: 148225, 53: 2809, 963: 927369, 993: 986049, 27: 729, 162: 26244, 964: 929296, 570: 324900, 402: 161604, 491: 241081, 404: 163216, 923: 851929, 539: 290521, 669: 447561, 548: 300304, 235: 55225, 104: 10816, 20: 400, 415: 172225, 240: 57600, 519: 269361, 196: 38416, 364: 132496, 596: 355216, 732: 535824, 457: 208849, 589: 346921, 838: 702244, 391: 152881, 80: 6400, 223: 49729, 32: 1024, 620: 384400, 941: 885481, 518: 268324, 473: 223729, 120: 14400, 0: 0, 933: 870489, 365: 133225, 780: 608400, 180: 32400, 788: 620944, 630: 396900, 400: 160000, 922: 850084, 704: 495616, 829: 687241, 25: 625, 489: 239121, 370: 136900, 847: 717409, 685: 469225, 705: 497025, 324: 104976, 311: 96721, 765: 585225, 58: 3364, 105: 11025, 451: 203401, 492: 242064, 856: 732736, 979: 958441, 948: 898704, 730: 532900, 344: 118336, 351: 123201, 734: 538756, 228: 51984, 691: 477481, 904: 817216, 9: 81, 602: 362404, 655: 429025, 634: 401956, 513: 263169, 35: 1225, 837: 700569, 250: 62500, 815: 664225, 568: 322624, 749: 561001, 5: 25, 632: 399424, 649: 421201, 578: 334084, 374: 139876, 764: 583696, 21: 441, 604: 364816, 377: 142129, 201: 40401, 885: 783225, 41: 1681, 531: 281961, 359: 128881, 87: 7569, 160: 25600, 168: 28224, 681: 463761, 709: 502681, 506: 256036, 475: 225625, 312: 97344, 515: 265225, 411: 168921, 367: 134689, 487: 237169, 225: 50625, 644: 414736, 717: 514089, 462: 213444, 208: 43264, 95: 9025, 919: 844561, 934: 872356, 552: 304704, 878: 770884, 356: 126736, 525: 275625, 173: 29929, 905: 819025, 600: 360000, 624: 389376, 353: 124609, 997: 994009, 579: 335241, 98: 9604, 409: 167281, 329: 108241, 832: 692224, 189: 35721, 252: 63504, 444: 197136, 762: 580644, 859: 737881, 463: 214369, 895: 801025, 477: 227529, 347: 120409, 34: 1156, 636: 404496, 989: 978121, 606: 367236, 955: 912025, 564: 318096, 459: 210681, 583: 339889, 205: 42025, 873: 762129, 865: 748225, 219: 47961, 449: 201601, 845: 714025, 305: 93025, 947: 896809, 907: 822649, 668: 446224, 834: 695556, 976: 952576, 453: 205209, 756: 571536, 327: 106929, 689: 474721, 850: 722500, 420: 176400, 413: 170569, 330: 108900, 623: 388129, 211: 44521, 450: 202500, 501: 251001, 521: 271441, 39: 1521, 149: 22201, 151: 22801, 17: 289, 969: 938961, 659: 434281, 992: 984064, 746: 556516, 210: 44100, 866: 749956, 610: 372100, 925: 855625, 587: 344569, 88: 7744, 416: 173056, 504: 254016, 15: 225, 881: 776161, 555: 308025, 483: 233289, 675: 455625, 647: 418609, 776: 602176, 253: 64009, 63: 3969, 157: 24649, 488: 238144, 912: 831744, 458: 209764, 719: 516961, 422: 178084, 902: 813604, 288: 82944, 70: 4900, 978: 956484, 614: 376996, 340: 115600, 2: 4, 28: 784, 257: 66049, 198: 39204, 239: 57121, 658: 432964, 932: 868624, 996: 992016, 665: 442225, 843: 710649, 628: 394384, 442: 195364, 619: 383161, 867: 751689, 141: 19881, 490: 240100, 980: 960400, 911: 829921, 128: 16384, 556: 309136, 733: 537289, 580: 336400, 406: 164836, 886: 784996, 727: 528529, 184: 33856, 414: 171396, 581: 337561, 926: 857476, 45: 2025, 232: 53824, 990: 980100, 703: 494209, 191: 36481, 176: 30976, 248: 61504, 822: 675684, 841: 707281, 854: 729316, 102: 10404, 846: 715716, 358: 128164, 497: 247009, 494: 244036, 660: 435600, 537: 288369, 605: 366025, 674: 454276, 920: 846400, 893: 797449, 825: 680625, 629: 395641, 633: 400689, 750: 562500, 896: 802816, 575: 330625, 245: 60025, 592: 350464, 526: 276676, 197: 38809, 448: 200704, 540: 291600, 310: 96100, 615: 378225, 987: 974169, 666: 443556, 476: 226576, 84: 7056, 678: 459684, 584: 341056, 214: 45796, 608: 369664, 163: 26569, 146: 21316, 731: 534361, 319: 101761, 270: 72900, 130: 16900, 464: 215296, 775: 600625, 291: 84681, 153: 23409, 611: 373321, 454: 206116, 230: 52900, 541: 292681, 720: 518400, 145: 21025, 397: 157609, 514: 264196, 280: 78400, 743: 552049, 772: 595984, 96: 9216, 118: 13924, 298: 88804, 467: 218089, 386: 148996, 977: 954529, 677: 458329, 357: 127449, 880: 774400, 560: 313600, 284: 80656, 673: 452929, 6: 36, 323: 104329, 984: 968256, 26: 676, 998: 996004, 594: 352836, 122: 14884, 183: 33489, 585: 342225, 882: 777924, 945: 893025, 432: 186624, 777: 603729, 930: 864900, 181: 32761, 711: 505521, 216: 46656, 430: 184900, 968: 937024, 495: 245025, 782: 611524, 339: 114921, 471: 221841, 819: 670761, 789: 622521, 246: 60516, 263: 69169, 824: 678976, 421: 177241, 848: 719104, 393: 154449, 354: 125316, 362: 131044, 272: 73984, 446: 198916, 857: 734449, 613: 375769, 737: 543169, 332: 110224, 817: 667489, 798: 636804, 903: 815409, 40: 1600, 296: 87616, 101: 10201, 549: 301401, 722: 521284, 42: 1764, 472: 222784, 455: 207025, 991: 982081, 679: 461041, 36: 1296, 37: 1369, 975: 950625, 62: 3844, 482: 232324, 707: 499849, 273: 74529, 754: 568516, 474: 224676, 277: 76729, 237: 56169, 663: 439569, 609: 370881, 179: 32041, 981: 962361, 48: 2304, 65: 4225, 864: 746496, 49: 2401, 93: 8649, 844: 712336, 217: 47089, 279: 77841, 836: 698896, 143: 20449, 635: 403225, 735: 540225, 54: 2916, 241: 58081, 418: 174724, 528: 278784, 258: 66564, 551: 303601, 207: 42849, 818: 669124, 429: 184041, 137: 18769, 213: 45369, 805: 648025, 625: 390625, 553: 305809, 954: 910116, 56: 3136, 642: 412164, 728: 529984, 778: 605284, 175: 30625, 150: 22500, 441: 194481, 806: 649636, 419: 175561, 485: 235225, 958: 917764, 380: 144400, 879: 772641, 790: 624100, 889: 790321, 193: 37249, 169: 28561, 50: 2500, 158: 24964, 724: 524176, 313: 97969, 498: 248004, 510: 260100, 355: 126025, 43: 1849, 170: 28900, 423: 178929, 559: 312481, 946: 894916, 111: 12321, 793: 628849, 612: 374544, 713: 508369, 297: 88209, 19: 361, 164: 26896, 346: 119716, 645: 416025, 133: 17689, 82: 6724, 109: 11881, 172: 29584, 661: 436921, 342: 116964, 194: 37636, 148: 21904, 154: 23716, 368: 135424, 38: 1444, 906: 820836, 204: 41616, 949: 900601, 557: 310249, 869: 755161, 830: 688900, 751: 564001, 460: 211600, 369: 136161, 348: 121104, 265: 70225, 712: 506944, 810: 656100, 266: 70756, 390: 152100, 801: 641601, 437: 190969, 75: 5625, 986: 972196, 182: 33124, 908: 824464, 227: 51529, 119: 14161, 281: 78961, 445: 198025, 797: 635209, 135: 18225, 384: 147456, 224: 50176, 617: 380689, 768: 589824, 338: 114244, 872: 760384, 524: 274576, 275: 75625, 100: 10000, 331: 109561, 648: 419904, 562: 315844, 597: 356409, 268: 71824, 67: 4489, 234: 54756, 726: 527076, 73: 5329, 142: 20164, 913: 833569, 950: 902500, 202: 40804, 892: 795664, 729: 531441, 127: 16129, 899: 808201, 967: 935089, 774: 599076, 599: 358801, 60: 3600, 226: 51076, 827: 683929, 816: 665856, 758: 574564, 835: 697225, 699: 488601, 403: 162409, 461: 212521, 373: 139129, 721: 519841, 378: 142884, 123: 15129, 438: 191844, 382: 145924, 973: 946729, 582: 338724, 534: 285156, 261: 68121, 716: 512656, 698: 487204, 803: 644809, 938: 879844, 388: 150544, 229: 52441, 299: 89401, 303: 91809, 897: 804609, 259: 67081, 951: 904401, 314: 98596, 480: 230400, 787: 619369, 842: 708964, 292: 85264, 590: 348100, 147: 21609, 222: 49284, 656: 430336, 860: 739600, 956: 913936, 92: 8464, 742: 550564, 349: 121801, 971: 942841, 295: 87025, 891: 793881, 387: 149769, 209: 43681, 436: 190096, 826: 682276, 840: 705600, 44: 1936, 786: 617796, 680: 462400, 530: 280900, 588: 345744, 974: 948676, 85: 7225, 505: 255025, 371: 137641, 970: 940900, 739: 546121, 375: 140625, 512: 262144, 178: 31684, 318: 101124, 140: 19600, 571: 326041, 243: 59049, 116: 13456, 831: 690561, 639: 408321, 953: 908209, 350: 122500, 961: 923521, 924: 853776, 545: 297025, 254: 64516, 542: 293764, 683: 466489, 129: 16641, 653: 426409, 603: 363609, 736: 541696, 468: 219024, 740: 547600, 91: 8281, 503: 253009, 206: 42436, 651: 423801, 161: 25921, 641: 410881, 792: 627264, 868: 753424, 697: 485809, 929: 863041, 244: 59536, 861: 741321, 760: 577600, 301: 90601, 747: 558009, 51: 2601, 692: 478864, 8: 64, 593: 351649, 855: 731025, 187: 34969, 883: 779689, 12: 144, 877: 769129, 220: 48400, 686: 470596, 431: 185761, 972: 944784, 215: 46225, 814: 662596, 267: 71289, 783: 613089, 563: 316969, 662: 438244, 995: 990025, 671: 450241, 262: 68644, 804: 646416, 81: 6561, 915: 837225, 962: 925444, 242: 58564, 71: 5041, 335: 112225, 983: 966289, 744: 553536, 320: 102400, 278: 77284, 985: 970225, 333: 110889, 11: 121, 755: 570025, 200: 40000, 31: 961, 83: 6889, 672: 451584, 290: 84100, 155: 24025, 376: 141376, 887: 786769, 910: 828100, 684: 467856, 543: 294849, 185: 34225, 410: 168100, 72: 5184, 396: 156816, 884: 781456, 710: 504100, 496: 246016, 591: 349281, 405: 164025, 779: 606841, 738: 544644, 900: 810000, 107: 11449, 165: 27225, 706: 498436, 828: 685584, 988: 976144, 218: 47524, 522: 272484, 621: 385641, 757: 573049, 909: 826281, 694: 481636, 203: 41209, 695: 483025, 928: 861184, 523: 273529, 360: 129600, 538: 289444, 121: 14641, 440: 193600, 935: 874225, 326: 106276, 550: 302500, 233: 54289, 156: 24336, 138: 19044, 134: 17956, 392: 153664, 741: 549081, 773: 597529, 965: 931225, 700: 490000, 853: 727609, 569: 323761, 527: 277729, 4: 16, 533: 284089, 398: 158404, 576: 331776, 502: 252004, 851: 724201, 577: 332929, 715: 511225, 287: 82369, 99: 9801, 77: 5929, 696: 484416, 293: 85849, 820: 672400, 646: 417316, 574: 329476, 927: 859329, 507: 257049, 876: 767376, 337: 113569, 57: 3249, 401: 160801, 493: 243049, 554: 306916, 626: 391876, 124: 15376, 412: 169744, 188: 35344, 190: 36100, 434: 188356, 752: 565504, 586: 343396, 379: 143641, 260: 67600, 573: 328329, 94: 8836, 812: 659344, 939: 881721, 718: 515524, 484: 234256, 302: 91204, 796: 633616, 308: 94864, 174: 30276, 638: 407044, 33: 1089, 23: 529, 918: 842724, 294: 86436, 108: 11664, 66: 4356, 637: 405769, 598: 357604, 595: 354025, 566: 320356, 708: 501264, 650: 422500, 784: 614656, 236: 55696, 767: 588289, 428: 183184, 30: 900, 618: 381924, 304: 92416, 89: 7921, 309: 95481, 466: 217156, 78: 6084, 300: 90000, 714: 509796, 372: 138384, 68: 4624, 14: 196, 875: 765625, 676: 456976}

Process finished with exit code 0

 

个人总结:字典并非完全无序

原文:http://www.cnblogs.com/sunface/p/5163996.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!