Borderou de evaluare (job #1375120)

Utilizator Alex_dudeDudescu Alexandru Alex_dude Data 5 martie 2015 12:17:42
Problema Culmi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f1,"%d %d",&n,&k);n++; ^ user.cpp:31:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:34:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(f2,"%ld",(c[lc][k]*c[lp][k])/k); ^ user.cpp:31:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d %d",&n,&k);n++; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms264kbOK10
30ms264kbIncorect0
40ms260kbIncorect0
50ms260kbIncorect0
60ms264kbIncorect0
70ms260kbIncorect0
80ms264kbIncorect0
90ms256kbIncorect0
100ms264kbOK10
Punctaj total30

Ceva nu functioneaza?