Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
main.c:1:10: error: expected "FILENAME" or <FILENAME> #include stdio.h ^ 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:4:1: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration] printf("Hola Codeo"); ^ main.c:4:1: note: include the header <stdio.h> or explicitly provide a declaration for 'printf' main.c:5:1: error: void function 'main' should not return a value [-Wreturn-type] return(0); ^ ~~~ 2 warnings and 2 errors generated. |
#include stdio.h void main(void){ printf("Hola Codeo"); return(0); }