Borderou de evaluare (job #215552)

Utilizator lamez0rBogdan Bondor lamez0r Data 19 octombrie 2008 14:08:22
Problema Calatorie interplanetara Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.c:4: error: expected declaration specifiers or '...' before string constant user.c:4: error: expected declaration specifiers or '...' before string constant user.c:4: error: expected declaration specifiers or '...' before 'stdin' user.c:4: warning: data definition has no type or storage class user.c:4: warning: type defaults to 'int' in declaration of 'freopen' user.c:4: error: conflicting types for 'freopen' /usr/include/stdio.h:257: error: previous declaration of 'freopen' was here user.c:5: error: expected declaration specifiers or '...' before string constant user.c:5: error: expected declaration specifiers or '...' before string constant user.c:5: error: expected declaration specifiers or '...' before 'stdout' user.c:5: warning: data definition has no type or storage class user.c:5: warning: type defaults to 'int' in declaration of 'freopen' user.c:5: error: conflicting types for 'freopen' /usr/include/stdio.h:257: error: previous declaration of 'freopen' was here user.c: In function 'write': user.c:22: warning: format '%ld' expects type 'long int', but argument 2 has type 'long long int' user.c: In function 'read': user.c:29: warning: format '%d' expects type 'int *', but argument 2 has type 'long long int *' user.c:34: error: 'f' undeclared (first use in this function) user.c:34: error: (Each undeclared identifier is reported only once user.c:34: error: for each function it appears in.) user.c: In function 'main': user.c:51: error: 'f' undeclared (first use in this function) user.c:58: error: 'g' undeclared (first use in this function) user.c:60:2: warning: no newline at end of file

Ceva nu functioneaza?