Files
maps-comp/peak/peak.py
T
Justin Lin 8582780ac9 commit
2026-05-02 15:42:52 +10:00

6 lines
102 B
Python

n = int(input())
input() # ignore the numbers
ans = 2 ** (n - 1) - 2
print(max(ans, 0) % 998244353)