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

Envío 4527

Problema 0x78 - Suma de 2 números

  • Autor: Sergio.Urrego
  • Fecha: 2021-07-11 22:39:26 UTC (Hace casi 3 años)
Caso # Resultado Tiempo Memoria
#1
Incorrecto
                      main.c:5:9: warning: more '%' conversions than data arguments [-Wformat]
scanf("%d %d, &a &b");
       ~^
1 warning generated.

                    
0.003 s 1 KBi
#2
Incorrecto
                      main.c:5:9: warning: more '%' conversions than data arguments [-Wformat]
scanf("%d %d, &a &b");
       ~^
1 warning generated.

                    
0.003 s 3 KBi
#3
Incorrecto
                      main.c:5:9: warning: more '%' conversions than data arguments [-Wformat]
scanf("%d %d, &a &b");
       ~^
1 warning generated.

                    
0.006 s 2 KBi
#4
Incorrecto
                      main.c:5:9: warning: more '%' conversions than data arguments [-Wformat]
scanf("%d %d, &a &b");
       ~^
1 warning generated.

                    
0.003 s 1 KBi
#5
Incorrecto
                      main.c:5:9: warning: more '%' conversions than data arguments [-Wformat]
scanf("%d %d, &a &b");
       ~^
1 warning generated.

                    
0.003 s 3 KBi
Puntos totales: 0 / 100

Código

#include <stdio.h>

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