Виктор обнови решението на 18.10.2022 17:34 (преди над 1 година)
+def calculate_final_vector(init, hexes):
+ return tuple(map(sum,zip(init,tuple(map(sum,(zip(*[((((-1)**((_&2)//2+1))*((-1)**(int('f' in __))))+(int(_==15)), 0)[::(-1)**((_%(5+(_&8)))&1)] for hex in hexes[:(hexes+['000000']).index('000000')] for __ in (hex.lower(),) for _ in (int(str(int(('ff'*('f' in __)+__)[::2].replace('f','2').replace('c','1'))-1111*((sum(ord(c) for c in __)&32)//32)), base=2),)])))))))
+
+# Sorry, not sorry