add 1025 1918 12101 1076 1247
complete 1076 1247 wander 1025 1918 12101
This commit is contained in:
13
zeta_python/completed/1247.py
Normal file
13
zeta_python/completed/1247.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import sys
|
||||
for _ in range(3):
|
||||
N = int(sys.stdin.readline())
|
||||
t = 0
|
||||
for i in range(N):
|
||||
t += int(sys.stdin.readline())
|
||||
|
||||
if t > 0:
|
||||
print("+")
|
||||
elif t < 0:
|
||||
print("-")
|
||||
else:
|
||||
print("0")
|
||||
Reference in New Issue
Block a user