Electrical Outlets
This commit is contained in:
1 parent
cb9edc207f
commit
85e678bd91
1 file changed
+6
@@ -0,0 +1,6 @@
|
|||||||
|
n = int(input())
|
||||||
|
for _ in range(n):
|
||||||
|
k = list(map(int, input().split()))
|
||||||
|
k = k[1:]
|
||||||
|
t = sum(k) - len(k) + 1
|
||||||
|
print(t)
|
||||||
Reference in new issue
Block a user