Borderou de evaluare (job #1481469)

Utilizator BodStfBodoarca Stefan BodStf Data 4 septembrie 2015 16:16:44
Problema Permutari 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void function()’: user.cpp:30:7: warning: unused variable ‘nr’ [-Wunused-variable] int nr=0; ^ user.cpp: In function ‘int main()’: user.cpp:49:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f1,"%d",&vin[i]); ^ user.cpp:51:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f1,"%d",&pdat[i]); ^ user.cpp:47:8: warning: unused variable ‘j’ [-Wunused-variable] int i,j; ^ user.cpp:46:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d",&N); ^ user.cpp:49:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d",&vin[i]); ^ user.cpp:51:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d",&pdat[i]); ^ user.cpp: In function ‘void function()’: user.cpp:32:14: warning: array subscript is below array bounds [-Warray-bounds] vizitat[poz]=1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK!10
20ms272kbOK!10
3Depăşit256kbTime limit exceeded.0
4Depăşit252kbTime limit exceeded.0
5Depăşit256kbTime limit exceeded.0
64ms276kbWrong answer!0
7Depăşit256kbTime limit exceeded.0
8Depăşit252kbTime limit exceeded.0
90ms276kbWrong answer!0
10Depăşit252kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?