Borderou de evaluare (job #1481478)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f1,"%d",&vin[i]); ^ user.cpp:50:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f1,"%d",&pdat[i]); ^ user.cpp:46:8: warning: unused variable ‘j’ [-Wunused-variable] int i,j; ^ user.cpp:45: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:48: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:50: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:31:14: warning: array subscript is below array bounds [-Warray-bounds] vizitat[poz]=1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK!10
20ms280kbOK!10
3Depăşit256kbTime limit exceeded.0
4Depăşit252kbTime limit exceeded.0
5Depăşit252kbTime limit exceeded.0
64ms276kbWrong answer!0
7Depăşit248kbTime limit exceeded.0
8Depăşit248kbTime limit exceeded.0
90ms280kbWrong answer!0
10Depăşit252kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?