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

Envío 4524

Problema 0x0 - Hola Codeo

  • Autor: Sergio.Urrego
  • Fecha: 2021-07-11 22:30:09 UTC (Hace casi 3 años)
Caso # Resultado Tiempo Memoria
#1
Error de compilación
                      main.c:3:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(void){
^
main.c:3:1: note: change return type to 'int'
void main(void){
^~~~
int
main.c:5:1: error: void function 'main' should not return a value [-Wreturn-type]
return(0);
^     ~~~
1 warning and 1 error generated.

                    
Puntos totales: 0 / 100

Código

#include <stdio.h>

void main(void){
printf("Hola Codeo");
return(0);
}