█████████ ████ ███░░░░░███ ░░███ ███ ░░░ ██████ ███████ ██████ ██████ ░███ ███░░███ ███░░███ ███░░███ ███░░███ ░███ ░███ ░███░███ ░███ ░███████ ░███ ░███ ░░███ ███░███ ░███░███ ░███ ░███░░░ ░███ ░███ ░░█████████ ░░██████ ░░████████░░██████ ░░██████ ░░░░░░░░░ ░░░░░░ ░░░░░░░░ ░░░░░░ ░░░░░░

Envío 5944

Problema 0x78 - Suma de 2 números

  • Autor: d3l4t0rr3
  • Fecha: 2022-03-30 22:11:40 UTC (Hace alrededor de 2 años)
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 2, in <module>
    z = int(x[0]) + int(x[1])
ValueError: invalid literal for int() with base 10: ' '
0.012 s 4 KBi
#2
Incorrecto
0.012 s 3 KBi
#3
Incorrecto
0.016 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 2, in <module>
    z = int(x[0]) + int(x[1])
ValueError: invalid literal for int() with base 10: '-'
0.012 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 2, in <module>
    z = int(x[0]) + int(x[1])
ValueError: invalid literal for int() with base 10: ' '
0.013 s 3 KBi
Puntos totales: 0 / 100

Código

x = input()
z = int(x[0]) + int(x[1])
print(z)