Borderou de evaluare (job #2166345)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 13 martie 2018 16:44:18
Problema Move Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int src(int)’: user.cpp:21:24: error: ‘n’ was not declared in this scope fprintf(fo,"%d\n", n - nmax); ^ user.cpp:21:28: error: ‘nmax’ was not declared in this scope fprintf(fo,"%d\n", n - nmax); ^ user.cpp: In function ‘int main()’: user.cpp:36:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &n); ^ user.cpp:38:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &v[i]); ^

Ceva nu functioneaza?