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

Envío 4529

Problema 0x78 - Suma de 2 números

  • Autor: Sergio.Urrego
  • Fecha: 2021-07-11 22:43:31 UTC (Hace casi 3 años)
Caso # Resultado Tiempo Memoria
#1
Error de compilación
                      main.c:5:19: error: invalid operands to binary expression ('int *' and 'int')
scanf("%d %d", &a &b);
               ~~ ^~
1 error generated.

                    
#2
Error de compilación
                      main.c:5:19: error: invalid operands to binary expression ('int *' and 'int')
scanf("%d %d", &a &b);
               ~~ ^~
1 error generated.

                    
#3
Error de compilación
                      main.c:5:19: error: invalid operands to binary expression ('int *' and 'int')
scanf("%d %d", &a &b);
               ~~ ^~
1 error generated.

                    
#4
Error de compilación
                      main.c:5:19: error: invalid operands to binary expression ('int *' and 'int')
scanf("%d %d", &a &b);
               ~~ ^~
1 error generated.

                    
#5
Error de compilación
                      main.c:5:19: error: invalid operands to binary expression ('int *' and 'int')
scanf("%d %d", &a &b);
               ~~ ^~
1 error generated.

                    
Puntos totales: 0 / 100

Código

#include <stdio.h>

int main(void){
int a, b;
scanf("%d %d", &a &b);
printf("%d\n", a + b);
return(0);
}