Minor changes
This commit is contained in:
@@ -12,8 +12,8 @@ except Exception as e:
|
|||||||
|
|
||||||
res1, res2 = 0, 0
|
res1, res2 = 0, 0
|
||||||
|
|
||||||
for c in input:
|
for i in range(len(input)):
|
||||||
match c
|
match input[i]:
|
||||||
case '(':
|
case '(':
|
||||||
res1 += 1
|
res1 += 1
|
||||||
case ')':
|
case ')':
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import re
|
|
||||||
|
|
||||||
# Fill Input
|
# Fill Input
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user