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

Envío 823

Problema 0x78 - Suma de 2 números

  • Autor: javierandresgp
  • Fecha: 2020-09-23 19:31:54 UTC (Hace más de 3 años)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.035 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 4, in <module>
    b = int(argv[2])
ValueError: invalid literal for int() with base 10: ' '
0.029 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 4, in <module>
    b = int(argv[2])
ValueError: invalid literal for int() with base 10: ' '
0.028 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.033 s 3 KBi
#5
Incorrecto
0.026 s 3 KBi
Puntos totales: 20 / 100

Código

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