Borderou de evaluare (job #1564655)

Utilizator mateibanuBanu Matei Costin mateibanu Data 9 ianuarie 2016 20:39:04
Problema Nunta 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:10:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:20:12: error: ‘g’ was not declared in this scope fclose(g); ^ user.cpp:10:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^

Ceva nu functioneaza?