This commit is contained in:
Justin Lin
2026-05-02 15:42:52 +10:00
commit 8582780ac9
38 changed files with 460 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
n = int(input())
input() # ignore the numbers
ans = 2 ** (n - 1) - 2
print(max(ans, 0) % 998244353)