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

Envío 3570

Problema 0x78 - Suma de 2 números

  • Autor: jmarrietar
  • Fecha: 2021-03-28 02:58:34 UTC (Hace alrededor 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 1, in <module>
    b = [int(x) for x in input.split()]
AttributeError: 'builtin_function_or_method' object has no attribute 'split'
0.03 s 6 KBi
#2
Error en tiempo de ejecución (NZEC)
Exited with error status 1
Traceback (most recent call last):
  File "script.py", line 1, in <module>
    b = [int(x) for x in input.split()]
AttributeError: 'builtin_function_or_method' object has no attribute 'split'
0.025 s 8 KBi
#3
Error en tiempo de ejecución (NZEC)
Exited with error status 1
Traceback (most recent call last):
  File "script.py", line 1, in <module>
    b = [int(x) for x in input.split()]
AttributeError: 'builtin_function_or_method' object has no attribute 'split'
0.018 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 1, in <module>
    b = [int(x) for x in input.split()]
AttributeError: 'builtin_function_or_method' object has no attribute 'split'
0.019 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 1, in <module>
    b = [int(x) for x in input.split()]
AttributeError: 'builtin_function_or_method' object has no attribute 'split'
0.032 s 4 KBi
Puntos totales: 0 / 100

Código

b = [int(x) for x in input.split()]

suma = 0 
for element in b:
  suma = suma + element

print(suma)