Borderou de evaluare (job #1984115)

Utilizator bodea.georgianaBodea Georgiana bodea.georgiana Data 23 mai 2017 18:59:24
Problema Dir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1602]’ [-Wformat=] fscanf(f,"%s",&c); ^ user.cpp:10:43: warning: unused variable ‘m’ [-Wunused-variable] int lung,i,j,nr=-1,k,lin=0,col=0,da=0,m,n,ca=0,l; ^ user.cpp:10:45: warning: unused variable ‘n’ [-Wunused-variable] int lung,i,j,nr=-1,k,lin=0,col=0,da=0,m,n,ca=0,l; ^ user.cpp:10:47: warning: unused variable ‘ca’ [-Wunused-variable] int lung,i,j,nr=-1,k,lin=0,col=0,da=0,m,n,ca=0,l; ^ user.cpp:10:52: warning: unused variable ‘l’ [-Wunused-variable] int lung,i,j,nr=-1,k,lin=0,col=0,da=0,m,n,ca=0,l; ^ user.cpp:11:10: warning: unused variable ‘aux’ [-Wunused-variable] char aux; ^ user.cpp:12:10: warning: unused variable ‘v’ [-Wunused-variable] char v; ^ user.cpp:15:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms276kbOK10
30ms276kbOK10
40ms284kbOK10
50ms284kbOK10
60ms300kbOK10
70ms304kbOK10
80ms300kbOK10
90ms288kbOK10
100ms280kbOK10
Punctaj total100

Ceva nu functioneaza?