結果
問題 | No.237 作図可能性 |
ユーザー | pluto77 |
提出日時 | 2016-03-14 10:15:03 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 12 ms / 2,000 ms |
コード長 | 7,084 bytes |
コンパイル時間 | 559 ms |
コンパイル使用メモリ | 7,936 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-25 11:59:24 |
合計ジャッジ時間 | 1,605 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 11 ms
6,812 KB |
testcase_01 | AC | 12 ms
6,816 KB |
testcase_02 | AC | 11 ms
6,944 KB |
testcase_03 | AC | 11 ms
6,944 KB |
testcase_04 | AC | 10 ms
6,940 KB |
testcase_05 | AC | 11 ms
6,940 KB |
testcase_06 | AC | 11 ms
6,944 KB |
testcase_07 | AC | 11 ms
6,940 KB |
testcase_08 | AC | 11 ms
6,940 KB |
testcase_09 | AC | 11 ms
6,944 KB |
testcase_10 | AC | 11 ms
6,940 KB |
testcase_11 | AC | 11 ms
6,940 KB |
testcase_12 | AC | 12 ms
6,944 KB |
testcase_13 | AC | 11 ms
6,944 KB |
testcase_14 | AC | 11 ms
6,940 KB |
testcase_15 | AC | 11 ms
6,940 KB |
testcase_16 | AC | 11 ms
6,940 KB |
testcase_17 | AC | 11 ms
6,940 KB |
testcase_18 | AC | 11 ms
6,940 KB |
testcase_19 | AC | 11 ms
6,944 KB |
testcase_20 | AC | 11 ms
6,944 KB |
testcase_21 | AC | 11 ms
6,948 KB |
testcase_22 | AC | 11 ms
6,940 KB |
testcase_23 | AC | 11 ms
6,944 KB |
testcase_24 | AC | 11 ms
6,940 KB |
testcase_25 | AC | 10 ms
6,944 KB |
testcase_26 | AC | 11 ms
6,940 KB |
testcase_27 | AC | 11 ms
6,940 KB |
testcase_28 | AC | 11 ms
6,940 KB |
testcase_29 | AC | 11 ms
6,940 KB |
ソースコード
# coding: utf-8 #yuki_237 s=[[1, 1],[2, 2],[3, 3], [4, 4], [5, 5], [6, 6], [8, 7], [10, 8], [12, 9], [15, 10], [16, 11], [17, 12], [20, 13], [24, 14], [30, 15], [32, 16], [34, 17], [40, 18], [48, 19], [51, 20], [60, 21], [64, 22], [68, 23], [80, 24], [85, 25], [96, 26], [102, 27], [120, 28], [128, 29], [136, 30], [160, 31], [170, 32], [192, 33], [204, 34], [240, 35], [255, 36], [256, 37], [257, 38], [272, 39], [320, 40], [340, 41], [384, 42], [408, 43], [480, 44], [510, 45], [512, 46], [514, 47], [544, 48], [640, 49], [680, 50], [768, 51], [771, 52], [816, 53], [960, 54], [1020, 55], [1024, 56], [1028, 57], [1088, 58], [1280, 59], [1285, 60], [1360, 61], [1536, 62], [1542, 63], [1632, 64], [1920, 65], [2040, 66], [2048, 67], [2056, 68], [2176, 69], [2560, 70], [2570, 71], [2720, 72], [3072, 73], [3084, 74], [3264, 75], [3840, 76], [3855, 77], [4080, 78], [4096, 79], [4112, 80], [4352, 81], [4369, 82], [5120, 83], [5140, 84], [5440, 85], [6144, 86], [6168, 87], [6528, 88], [7680, 89], [7710, 90], [8160, 91], [8192, 92], [8224, 93], [8704, 94], [8738, 95], [10240, 96], [10280, 97], [10880, 98], [12288, 99], [12336, 100], [13056, 101], [13107, 102], [15360, 103], [15420, 104], [16320, 105], [16384, 106], [16448, 107], [17408, 108], [17476, 109], [20480, 110], [20560, 111], [21760, 112], [21845, 113], [24576, 114], [24672, 115], [26112, 116], [26214, 117], [30720, 118], [30840, 119], [32640, 120], [32768, 121], [32896, 122], [34816, 123], [34952, 124], [40960, 125], [41120, 126], [43520, 127], [43690, 128], [49152, 129], [49344, 130], [52224, 131], [52428, 132], [61440, 133], [61680, 134], [65280, 135], [65535, 136], [65536, 137], [65537, 138], [65792, 139], [69632, 140], [69904, 141], [81920, 142], [82240, 143], [87040, 144], [87380, 145], [98304, 146], [98688, 147], [104448, 148], [104856, 149], [122880, 150], [123360, 151], [130560, 152], [131070, 153], [131072, 154], [131074, 155], [131584, 156], [139264, 157], [139808, 158], [163840, 159], [164480, 160], [174080, 161], [174760, 162], [196608, 163], [196611, 164], [197376, 165], [208896, 166], [209712, 167], [245760, 168], [246720, 169], [261120, 170], [262140, 171], [262144, 172], [262148, 173], [263168, 174], [278528, 175], [279616, 176], [327680, 177], [327685, 178], [328960, 179], [348160, 180], [349520, 181], [393216, 182], [393222, 183], [394752, 184], [417792, 185], [419424, 186], [491520, 187], [493440, 188], [522240, 189], [524280, 190], [524288, 191], [524296, 192], [526336, 193], [557056, 194], [559232, 195], [655360, 196], [655370, 197], [657920, 198], [696320, 199], [699040, 200], [786432, 201], [786444, 202], [789504, 203], [835584, 204], [838848, 205], [983040, 206], [983055, 207], [986880, 208], [1044480, 209], [1048560, 210], [1048576, 211], [1048592, 212], [1052672, 213], [1114112, 214], [1114129, 215], [1118464, 216], [1310720, 217], [1310740, 218], [1315840, 219], [1392640, 220], [1398080, 221], [1572864, 222], [1572888, 223], [1579008, 224], [1671168, 225], [1677696, 226], [1966080, 227], [1966110, 228], [1973760, 229], [2088960, 230], [2097120, 231], [2097152, 232], [2097184, 233], [2105344, 234], [2228224, 235], [2228258, 236], [2236928, 237], [2621440, 238], [2621480, 239], [2631680, 240], [2785280, 241], [2796160, 242], [3145728, 243], [3145776, 244], [3158016, 245], [3342336, 246], [3342387, 247], [3355392, 248], [3932160, 249], [3932220, 250], [3947520, 251], [4177920, 252], [4194240, 253], [4194304, 254], [4194368, 255], [4210688, 256], [4456448, 257], [4456516, 258], [4473856, 259], [5242880, 260], [5242960, 261], [5263360, 262], [5570560, 263], [5570645, 264], [5592320, 265], [6291456, 266], [6291552, 267], [6316032, 268], [6684672, 269], [6684774, 270], [6710784, 271], [7864320, 272], [7864440, 273], [7895040, 274], [8355840, 275], [8388480, 276], [8388608, 277], [8388736, 278], [8421376, 279], [8912896, 280], [8913032, 281], [8947712, 282], [10485760, 283], [10485920, 284], [10526720, 285], [11141120, 286], [11141290, 287], [11184640, 288], [12582912, 289], [12583104, 290], [12632064, 291], [13369344, 292], [13369548, 293], [13421568, 294], [15728640, 295], [15728880, 296], [15790080, 297], [16711680, 298], [16711935, 299], [16776960, 300], [16777216, 301], [16777472, 302], [16842752, 303], [16843009, 304], [17825792, 305], [17826064, 306], [17895424, 307], [20971520, 308], [20971840, 309], [21053440, 310], [22282240, 311], [22282580, 312], [22369280, 313], [25165824, 314], [25166208, 315], [25264128, 316], [26738688, 317], [26739096, 318], [26843136, 319], [31457280, 320], [31457760, 321], [31580160, 322], [33423360, 323], [33423870, 324], [33553920, 325], [33554432, 326], [33554944, 327], [33685504, 328], [33686018, 329], [35651584, 330], [35652128, 331], [35790848, 332], [41943040, 333], [41943680, 334], [42106880, 335], [44564480, 336], [44565160, 337], [44738560, 338], [50331648, 339], [50332416, 340], [50528256, 341], [50529027, 342], [53477376, 343], [53478192, 344], [53686272, 345], [62914560, 346], [62915520, 347], [63160320, 348], [66846720, 349], [66847740, 350], [67107840, 351], [67108864, 352], [67109888, 353], [67371008, 354], [67372036, 355], [71303168, 356], [71304256, 357], [71581696, 358], [83886080, 359], [83887360, 360], [84213760, 361], [84215045, 362], [89128960, 363], [89130320, 364], [89477120, 365], [100663296, 366], [100664832, 367], [101056512, 368], [101058054, 369], [106954752, 370], [106956384, 371], [107372544, 372], [125829120, 373], [125831040, 374], [126320640, 375], [133693440, 376], [133695480, 377], [134215680, 378], [134217728, 379], [134219776, 380], [134742016, 381], [134744072, 382], [142606336, 383], [142608512, 384], [143163392, 385], [167772160, 386], [167774720, 387], [168427520, 388], [168430090, 389], [178257920, 390], [178260640, 391], [178954240, 392], [201326592, 393], [201329664, 394], [202113024, 395], [202116108, 396], [213909504, 397], [213912768, 398], [214745088, 399], [251658240, 400], [251662080, 401], [252641280, 402], [252645135, 403], [267386880, 404], [267390960, 405], [268431360, 406], [268435456, 407], [268439552, 408], [269484032, 409], [269488144, 410], [285212672, 411], [285217024, 412], [286326784, 413], [286331153, 414], [335544320, 415], [335549440, 416], [336855040, 417], [336860180, 418], [356515840, 419], [356521280, 420], [357908480, 421], [402653184, 422], [402659328, 423], [404226048, 424], [404232216, 425], [427819008, 426], [427825536, 427], [429490176, 428], [503316480, 429], [503324160, 430], [505282560, 431], [505290270, 432], [534773760, 433], [534781920, 434], [536862720, 435], [536870912, 436], [536879104, 437], [538968064, 438], [538976288, 439], [570425344, 440], [570434048, 441], [572653568, 442], [572662306, 443], [671088640, 444], [671098880, 445], [673710080, 446], [673720360, 447], [713031680, 448], [713042560, 449], [715816960, 450], [805306368, 451], [805318656, 452], [808452096, 453], [808464432, 454], [855638016, 455], [855651072, 456], [858980352, 457], [858993459, 458], [1006632960, 459]] n=int(raw_input()) for i in xrange(3,460): if s[i][0]>n: print s[i][1]-3 break