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

Envío 822

Problema 0x78 - Suma de 2 números

  • Autor: javierandresgp
  • Fecha: 2020-09-23 19:26:43 UTC (Hace más de 3 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 4, in <module>
    b = int(argv[1])
ValueError: invalid literal for int() with base 10: ' '
0.03 s 3 KBi
#2
Incorrecto
0.032 s 3 KBi
#3
Incorrecto
0.029 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 3, in <module>
    a = int(argv[0])
ValueError: invalid literal for int() with base 10: '-'
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 4, in <module>
    b = int(argv[1])
ValueError: invalid literal for int() with base 10: ' '
0.032 s 3 KBi
Puntos totales: 0 / 100

Código

argv = input()
tokens = argv.split()
a = int(argv[0])
b = int(argv[1])
print(a + b)