結果

問題 No.237 作図可能性
ユーザー john_doe_113john_doe_113
提出日時 2015-07-12 07:47:27
言語 Python2
(2.7.18)
結果
AC  
実行時間 13 ms / 2,000 ms
コード長 232 bytes
コンパイル時間 1,192 ms
コンパイル使用メモリ 6,516 KB
実行使用メモリ 6,340 KB
最終ジャッジ日時 2023-09-22 14:19:16
合計ジャッジ時間 1,815 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
6,188 KB
testcase_01 AC 13 ms
6,224 KB
testcase_02 AC 12 ms
6,304 KB
testcase_03 AC 13 ms
6,204 KB
testcase_04 AC 12 ms
6,132 KB
testcase_05 AC 12 ms
6,308 KB
testcase_06 AC 12 ms
6,216 KB
testcase_07 AC 12 ms
6,116 KB
testcase_08 AC 12 ms
6,116 KB
testcase_09 AC 12 ms
6,100 KB
testcase_10 AC 12 ms
6,188 KB
testcase_11 AC 12 ms
6,340 KB
testcase_12 AC 11 ms
6,144 KB
testcase_13 AC 13 ms
6,196 KB
testcase_14 AC 12 ms
6,304 KB
testcase_15 AC 12 ms
6,128 KB
testcase_16 AC 12 ms
6,108 KB
testcase_17 AC 12 ms
6,252 KB
testcase_18 AC 12 ms
6,120 KB
testcase_19 AC 12 ms
6,156 KB
testcase_20 AC 12 ms
6,292 KB
testcase_21 AC 12 ms
6,228 KB
testcase_22 AC 12 ms
6,192 KB
testcase_23 AC 12 ms
6,292 KB
testcase_24 AC 12 ms
6,204 KB
testcase_25 AC 12 ms
6,236 KB
testcase_26 AC 12 ms
6,256 KB
testcase_27 AC 12 ms
6,240 KB
testcase_28 AC 12 ms
6,224 KB
testcase_29 AC 12 ms
6,132 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import itertools as it
n=input()
f=lambda x:[reduce(lambda a,b:a*b,l,1)for l in it.combinations([3,5,17,257,65537],x)]
m=reduce(lambda a,b:a+b,[f(i)for i in range(7)])
print len([i*2**j for i in m for j in range(30)if n>=i*2**j>=3])
0