Borderou de evaluare (job #1384554)

Utilizator dragos_vecerdeaVecerdea Dragos dragos_vecerdea Data 11 martie 2015 10:37:30
Problema Subsiruri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:37: warning: unused variable ‘incep’ [-Wunused-variable] int maxx=0 ,maxxp=0 , i ,j ,n ,incep ,cont ,pr ,numar ,bun; ^ user.cpp:10:44: warning: unused variable ‘cont’ [-Wunused-variable] int maxx=0 ,maxxp=0 , i ,j ,n ,incep ,cont ,pr ,numar ,bun; ^ user.cpp:10:50: warning: unused variable ‘pr’ [-Wunused-variable] int maxx=0 ,maxxp=0 , i ,j ,n ,incep ,cont ,pr ,numar ,bun; ^ user.cpp:11:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin ,"%d" ,&n); ^ user.cpp:14:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin ,"%d" ,&v[i]); ^ user.cpp:48:51: warning: ‘bun’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(best[i]==maxxp) bun+=contor[i]%9901; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms256kbOK10
30ms264kbOK10
40ms260kbOK10
50ms256kbOK10
60ms256kbOK10
70ms260kbOK10
80ms264kbOK10
94ms264kbOK10
100ms260kbOK10
Punctaj total100

Ceva nu functioneaza?