好不容易打了个表 居然超时一个点

int a[68]={1,2,4,6,12,24,36,48,60,120,180,240,360,720,840,1260,1680,2520,5040,7560,10080,15120,20160,25200,27720,45360,50400,55440,83160,110880,166320,221760,277200,332640,498960,554400,665280,720720,1081080,1441440,2162160,2882880,3603600,4324320,6486480,7207200,8648640,10810800,14414400,17297280,21621600,32432400,36756720,43243200,61261200,73513440,110270160,122522400,147026880,183783600,245044800,294053760,367567200,551350800,698377680,735134400,1102701600,1396755360};

第一次用for (int i=0;i

4 条评论

  • @ 2014-08-19 03:00:00

    表在oeis
    http://oeis.org/A002182/b002182.txt
    preview:
    1 1
    2 2
    3 4
    4 6
    5 12
    6 24
    7 36
    8 48
    9 60
    10 120
    11 180
    12 240
    13 360
    14 720
    15 840
    16 1260
    17 1680
    18 2520
    19 5040
    20 7560
    21 10080
    22 15120
    23 20160
    24 25200
    25 27720
    26 45360
    27 50400
    28 55440
    29 83160
    30 110880
    31 166320
    32 221760
    33 277200
    34 332640
    35 498960
    36 554400
    37 665280
    38 720720
    39 1081080
    40 1441440
    41 2162160
    42 2882880
    43 3603600
    44 4324320
    45 6486480
    46 7207200
    47 8648640
    48 10810800
    49 14414400
    50 17297280
    51 21621600
    52 32432400
    53 36756720
    54 43243200
    55 61261200
    56 73513440
    57 110270160
    58 122522400
    59 147026880
    60 183783600
    61 245044800
    62 294053760
    63 367567200
    64 551350800
    65 698377680
    66 735134400
    67 1102701600
    68 1396755360
    69 2095133040
    70 2205403200
    71 2327925600
    72 2793510720
    73 3491888400
    74 4655851200
    75 5587021440
    76 6983776800
    77 10475665200
    78 13967553600
    79 20951330400
    80 27935107200
    81 41902660800
    82 48886437600
    83 64250746560
    84 73329656400
    85 80313433200
    86 97772875200
    87 128501493120
    88 146659312800
    89 160626866400
    90 240940299600
    91 293318625600
    92 321253732800
    93 481880599200
    94 642507465600
    95 963761198400
    96 1124388064800
    97 1606268664000
    98 1686582097200
    99 1927522396800
    100 2248776129600
    101 3212537328000
    102 3373164194400
    103 4497552259200
    104 6746328388800
    105 8995104518400
    106 9316358251200
    107 13492656777600
    108 18632716502400
    109 26985313555200
    110 27949074753600
    111 32607253879200
    112 46581791256000
    113 48910880818800
    114 55898149507200
    115 65214507758400
    116 93163582512000
    117 97821761637600
    118 130429015516800
    119 195643523275200
    120 260858031033600
    121 288807105787200
    122 391287046550400
    123 577614211574400
    124 782574093100800
    125 866421317361600
    126 1010824870255200
    127 1444035528936000
    128 1516237305382800
    129 1732842634723200
    130 2021649740510400
    131 2888071057872000
    132 3032474610765600
    133 4043299481020800
    134 6064949221531200
    135 8086598962041600
    136 10108248702552000
    137 12129898443062400
    138 18194847664593600
    139 20216497405104000
    140 24259796886124800
    141 30324746107656000
    142 36389695329187200
    143 48519593772249600
    144 60649492215312000
    145 72779390658374400
    146 74801040398884800
    147 106858629141264000
    148 112201560598327200
    149 149602080797769600
    150 224403121196654400
    151 299204161595539200
    152 374005201994424000
    153 448806242393308800
    154 673209363589963200
    155 748010403988848000
    156 897612484786617600
    157 1122015605983272000
    158 1346418727179926400
    159 1795224969573235200
    160 2244031211966544000
    161 2692837454359852800
    162 3066842656354276800
    163 4381203794791824000
    164 4488062423933088000
    165 6133685312708553600
    166 8976124847866176000
    167 9200527969062830400
    168 12267370625417107200
    169 15334213281771384000
    170 18401055938125660800
    171 27601583907188491200
    172 30668426563542768000
    173 36802111876251321600
    174 46002639845314152000
    175 55203167814376982400
    176 73604223752502643200
    177 92005279690628304000
    178 110406335628753964800
    179 131874234223233902400
    180 184010559381256608000
    181 263748468446467804800
    182 368021118762513216000
    183 395622702669701707200
    184 527496936892935609600
    185 659371171116169512000
    186 791245405339403414400
    187 1186868108009105121600
    188 1318742342232339024000
    189 1582490810678806828800
    190 1978113513348508536000
    191 2373736216018210243200
    192 3164981621357613657600
    193 3956227026697017072000
    194 4747472432036420486400
    195 5934340540045525608000
    196 7912454053394034144000
    197 11868681080091051216000
    198 15824908106788068288000
    199 17407398917466875116800
    200 18594267025475980238400

  • @ 2014-06-27 12:44:02

    呵呵

  • @ 2013-10-02 10:30:47

    评测结果
    编译成功

    测试数据 #0: Accepted, time = 0 ms, mem = 540 KiB, score = 10
    测试数据 #1: Accepted, time = 0 ms, mem = 536 KiB, score = 10
    测试数据 #2: Accepted, time = 0 ms, mem = 540 KiB, score = 10
    测试数据 #3: Accepted, time = 0 ms, mem = 536 KiB, score = 10
    测试数据 #4: Accepted, time = 0 ms, mem = 536 KiB, score = 10
    测试数据 #5: Accepted, time = 0 ms, mem = 540 KiB, score = 10
    测试数据 #6: Accepted, time = 0 ms, mem = 532 KiB, score = 10
    测试数据 #7: Accepted, time = 0 ms, mem = 544 KiB, score = 10
    测试数据 #8: Accepted, time = 0 ms, mem = 536 KiB, score = 10
    测试数据 #9: Accepted, time = 0 ms, mem = 536 KiB, score = 10
    Accepted, time = 0 ms, mem = 544 KiB, score = 100

  • @ 2013-10-02 10:30:29

    我打表全部0ms过...

  • 1

信息

ID
1172
难度
4
分类
其他 | 数学 点击显示
标签
递交数
1193
已通过
494
通过率
41%
被复制
4
上传者