Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 7, in <module> if val_a > 0 and val_b < 0: TypeError: '<' not supported between instances of 'list' and 'int' |
0.024 s | 3 KBi |
#2 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 14, in <module> val_b -= listn[i] TypeError: unsupported operand type(s) for -=: 'list' and 'int' |
0.024 s | 3 KBi |
#3 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 14, in <module> val_b -= listn[i] TypeError: unsupported operand type(s) for -=: 'list' and 'int' |
0.027 s | 3 KBi |
#4 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 14, in <module> val_b -= listn[i] TypeError: unsupported operand type(s) for -=: 'list' and 'int' |
0.027 s | 3 KBi |
#5 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 7, in <module> if val_a > 0 and val_b < 0: TypeError: '<' not supported between instances of 'list' and 'int' |
0.025 s | 3 KBi |
#6 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 14, in <module> val_b -= listn[i] TypeError: unsupported operand type(s) for -=: 'list' and 'int' |
0.027 s | 3 KBi |
#7 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 14, in <module> val_b -= listn[i] TypeError: unsupported operand type(s) for -=: 'list' and 'int' |
0.022 s | 3 KBi |
#8 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 7, in <module> if val_a > 0 and val_b < 0: TypeError: '<' not supported between instances of 'list' and 'int' |
0.022 s | 3 KBi |
#9 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 14, in <module> val_b -= listn[i] TypeError: unsupported operand type(s) for -=: 'list' and 'int' |
0.029 s | 3 KBi |
#10 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 14, in <module> val_b -= listn[i] TypeError: unsupported operand type(s) for -=: 'list' and 'int' |
0.046 s | 3 KBi |
#11 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 14, in <module> val_b -= listn[i] TypeError: unsupported operand type(s) for -=: 'list' and 'int' |
0.05 s | 3 KBi |
#12 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 7, in <module> if val_a > 0 and val_b < 0: TypeError: '<' not supported between instances of 'list' and 'int' |
0.036 s | 3 KBi |
#13 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 14, in <module> val_b -= listn[i] TypeError: unsupported operand type(s) for -=: 'list' and 'int' |
0.028 s | 3 KBi |
#14 |
Esperando resultado...
|
||
#15 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 14, in <module> val_b -= listn[i] TypeError: unsupported operand type(s) for -=: 'list' and 'int' |
0.184 s | 12 KBi |
#16 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 14, in <module> val_b -= listn[i] TypeError: unsupported operand type(s) for -=: 'list' and 'int' |
0.273 s | 30 KBi |
#17 |
Esperando resultado...
|
||
#18 |
Esperando resultado...
|
||
#19 |
Esperando resultado...
|
||
#20 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 14, in <module> val_b -= listn[i] TypeError: unsupported operand type(s) for -=: 'list' and 'int' |
0.333 s | 59 KBi |
N = int(input()) listn = [int(x) for x in input().split()] val_a = listn[0] val_b = listn[1:] for i in range(1,N): if val_a > 0 and val_b < 0: print(i) break if i == N-1: print('Impossible') i + 1 val_a += listn[i] val_b -= listn[i]