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

Envío 6934

Problema 0x78 - Suma de 2 números

  • Autor: Juanes2002
  • Fecha: 2023-03-16 23:56:42 UTC (Hace más de 1 año)
Caso # Resultado Tiempo Memoria
#1
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = [int(x) for x in input().split()]
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = [int(x) for x in input().split()]
   ^
main.c:1:8: error: expected expression
a, b = [int(x) for x in input().split()]
       ^
main.c:2:13: error: expected ';' after top level declarator
print(a + b)
            ^
            ;
2 warnings and 2 errors generated.

                    
#2
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = [int(x) for x in input().split()]
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = [int(x) for x in input().split()]
   ^
main.c:1:8: error: expected expression
a, b = [int(x) for x in input().split()]
       ^
main.c:2:13: error: expected ';' after top level declarator
print(a + b)
            ^
            ;
2 warnings and 2 errors generated.

                    
#3
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = [int(x) for x in input().split()]
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = [int(x) for x in input().split()]
   ^
main.c:1:8: error: expected expression
a, b = [int(x) for x in input().split()]
       ^
main.c:2:13: error: expected ';' after top level declarator
print(a + b)
            ^
            ;
2 warnings and 2 errors generated.

                    
#4
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = [int(x) for x in input().split()]
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = [int(x) for x in input().split()]
   ^
main.c:1:8: error: expected expression
a, b = [int(x) for x in input().split()]
       ^
main.c:2:13: error: expected ';' after top level declarator
print(a + b)
            ^
            ;
2 warnings and 2 errors generated.

                    
#5
Error de compilación
                      main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = [int(x) for x in input().split()]
^
main.c:1:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a, b = [int(x) for x in input().split()]
   ^
main.c:1:8: error: expected expression
a, b = [int(x) for x in input().split()]
       ^
main.c:2:13: error: expected ';' after top level declarator
print(a + b)
            ^
            ;
2 warnings and 2 errors generated.

                    
Puntos totales: 0 / 100

Código

a, b = [int(x) for x in input().split()]
print(a + b)