結果

問題 No.237 作図可能性
ユーザー matriematrie
提出日時 2021-01-13 21:41:23
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 536 ms / 2,000 ms
コード長 177 bytes
コンパイル時間 257 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 43,972 KB
最終ジャッジ日時 2024-05-02 06:20:54
合計ジャッジ時間 15,467 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 462 ms
43,844 KB
testcase_01 AC 464 ms
43,588 KB
testcase_02 AC 451 ms
43,580 KB
testcase_03 AC 481 ms
43,968 KB
testcase_04 AC 462 ms
43,844 KB
testcase_05 AC 460 ms
43,840 KB
testcase_06 AC 457 ms
43,844 KB
testcase_07 AC 456 ms
43,584 KB
testcase_08 AC 460 ms
43,588 KB
testcase_09 AC 458 ms
43,592 KB
testcase_10 AC 447 ms
43,588 KB
testcase_11 AC 447 ms
43,568 KB
testcase_12 AC 443 ms
43,588 KB
testcase_13 AC 450 ms
43,592 KB
testcase_14 AC 461 ms
43,844 KB
testcase_15 AC 450 ms
43,836 KB
testcase_16 AC 460 ms
43,580 KB
testcase_17 AC 453 ms
43,600 KB
testcase_18 AC 462 ms
43,828 KB
testcase_19 AC 453 ms
43,720 KB
testcase_20 AC 450 ms
43,720 KB
testcase_21 AC 449 ms
43,840 KB
testcase_22 AC 536 ms
43,712 KB
testcase_23 AC 456 ms
43,844 KB
testcase_24 AC 456 ms
43,972 KB
testcase_25 AC 454 ms
43,824 KB
testcase_26 AC 458 ms
43,588 KB
testcase_27 AC 460 ms
43,840 KB
testcase_28 AC 452 ms
43,596 KB
testcase_29 AC 455 ms
43,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from numpy import*
from itertools import*
n=int(input())+1
c=0
f=[1,1,1,1,1,3,5,17,257,65537]
for M in set(list(combinations(f,5))):
	m=prod(M)
	while m<n: c+=1; m*=2
print(c-2)
0