commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
3
|
||||
1 2 3
|
||||
@@ -0,0 +1,2 @@
|
||||
4
|
||||
1 2 3 4
|
||||
@@ -0,0 +1,2 @@
|
||||
5
|
||||
10 20 30 40 50
|
||||
@@ -0,0 +1,5 @@
|
||||
n = int(input())
|
||||
input() # ignore the numbers
|
||||
|
||||
ans = 2 ** (n - 1) - 2
|
||||
print(max(ans, 0) % 998244353)
|
||||
Reference in New Issue
Block a user