complete 15725.py

This commit is contained in:
yenru0 committed 2024-08-08 09:37:20 +09:00
1 parent 4b2f4dcdf6
commit d4e0860e6a
1 file changed
+1
+1
View File
@@ -0,0 +1 @@
print((lambda x: x[0] if len(x) > 1 else 0)(list(map(lambda x: 1 if x == '' else -1 if x == '-' else int(x), input().split('x')))))