Borderou de evaluare (job #1363868)

Utilizator dumitrubogdanDumitru Bogdan Mihai dumitrubogdan Data 27 februarie 2015 12:16:34
Problema Fractii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void Afisare_Vector(int*, long int)’: user.cpp:11:65: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d - %s\n ",i, ( v[i]==-1 ? "NP" :"ESTE PRIM" ) ) ; ^ user.cpp: In function ‘int main()’: user.cpp:66:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:95:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",S); ^ user.cpp:66:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit776kbTime limit exceeded.0
252ms440kbOk!10
3Depăşit424kbTime limit exceeded.0
4Depăşit452kbTime limit exceeded.0
5Depăşit648kbTime limit exceeded.0
6Depăşit868kbTime limit exceeded.0
7Depăşit1392kbTime limit exceeded.0
8Depăşit2300kbTime limit exceeded.0
9Depăşit3260kbTime limit exceeded.0
10Depăşit4292kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?