1class Solution:2 def minNonZeroProduct(self, p: int) -> int:3 mod = 10**9 + 74 return (pow(2**p - 2, 2 ** (p - 1) - 1, mod) * (2**p - 1)) % mod
WPM •0 •0
ACC •0 •0
TIME •0