From 57d5f1eafcc937d2bc7fdacc636e245e21008e99 Mon Sep 17 00:00:00 2001 From: Aleksey Lobanov Date: Sun, 9 May 2021 13:58:07 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=BF=D0=BE=D1=81=D1=82=D1=80=D0=BE=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=80=D0=B0=D1=81=D0=BF=D1=80=D0=B5=D0=B4?= =?UTF-8?q?=D0=B5=D0=BB=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?=D0=BF=D1=8F=D1=82=D0=B8=D0=BC=D0=B5=D1=80=D0=BD=D1=8B=D1=85=20?= =?UTF-8?q?=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- get_function_len.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/get_function_len.py b/get_function_len.py index ec92cea..479c44a 100644 --- a/get_function_len.py +++ b/get_function_len.py @@ -70,7 +70,10 @@ def get_function_len(args_count, function_number): def count_symmetricals(args_count): - func_strings = list(open(f"./build/functions_strings_{args_count}.txt").read().split("\n")[:-1]) + if args_count <= 4: + func_strings = list(open(f"./build/functions_strings_{args_count}.txt").read().split("\n")[:-1]) + else: + func_strings = [] print(f"Total {len(func_strings)} representations") functions_to_check = set() for layer_values in itertools.product([0, 1], repeat=args_count + 1):