Borderou de evaluare (job #689813)

Utilizator dica69Alexandru Lincan dica69 Data 24 februarie 2012 21:05:18
Problema Text4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:18: warning: format ‘%ld’ expects type ‘long int*’, but argument 3 has type ‘int*’ user.cpp:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result user.cpp:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result user.cpp:21: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp: In function ‘void afiseaza_linie(int)’: user.cpp:51: warning: format ‘%c’ expects type ‘int’, but argument 3 has type ‘char*’ user.cpp:55: warning: format ‘%c’ expects type ‘int’, but argument 3 has type ‘char*’ user.cpp:60: error: ‘nr’ was not declared in this scope

Ceva nu functioneaza?