Borderou de evaluare (job #692784)

Utilizator laurionLaurentiu Ion laurion Data 26 februarie 2012 19:28:15
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:2:22: error: algorithm: No such file or directory user.c:3:19: error: cstdio: No such file or directory user.c:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’ user.c:11: error: variably modified ‘A’ at file scope user.c:12: error: variably modified ‘ch’ at file scope user.c:14: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token user.c: In function ‘main’: user.c:21: warning: implicit declaration of function ‘freopen’ user.c:21: error: ‘stdin’ undeclared (first use in this function) user.c:21: error: (Each undeclared identifier is reported only once user.c:21: error: for each function it appears in.) user.c:22: error: ‘stdout’ undeclared (first use in this function) user.c:24: warning: implicit declaration of function ‘cit’ user.c:25: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:25: note: use option -std=c99 or -std=gnu99 to compile your code user.c:27: warning: implicit declaration of function ‘sort’ user.c:28: error: redefinition of ‘i’ user.c:25: note: previous definition of ‘i’ was here user.c:28: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:29: warning: implicit declaration of function ‘printf’ user.c:29: warning: incompatible implicit declaration of built-in function ‘printf’

Ceva nu functioneaza?