Borderou de evaluare (job #1614685)

Utilizator teodor440Teodor Tonghioiu teodor440 Data 26 februarie 2016 01:19:30
Problema Sum 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:17:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(dinuin, "%d", &n); ^ user.cpp:26:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(dinuin, "%d", &n); ^ user.cpp:27:30: error: ‘e’ was not declared in this scope fprintf(dinuout, "%lld\n", e[x] * 2 * x); ^ user.cpp:12:12: warning: unused variable ‘a’ [-Wunused-variable] int i, j, a, b, c; ^ user.cpp:12:15: warning: unused variable ‘b’ [-Wunused-variable] int i, j, a, b, c; ^ user.cpp:12:18: warning: unused variable ‘c’ [-Wunused-variable] int i, j, a, b, c; ^ user.cpp:17:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(dinuin, "%d", &n); ^ user.cpp:26:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(dinuin, "%d", &n); ^

Ceva nu functioneaza?