Borderou de evaluare (job #1422617)

Utilizator UTCN_error404UTCN Balint Petrican Stan UTCN_error404 Data 19 aprilie 2015 14:57:28
Problema Prietenie3 Status done
Runda ONIS 2015, Runda 3 Compilator cpp
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&v[i]); ^ user.cpp:35:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&r[i]); ^ user.cpp:55:76: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d %d %d %d %d\n",vPivot,rPivot,vIndex,rIndex,count); ^ user.cpp:55:76: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] user.cpp:55:76: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long int’ [-Wformat=] user.cpp:83:78: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("--%d %d %d %d %d\n",vPivot,rPivot,vIndex,rIndex,count); ^ user.cpp:83:78: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] user.cpp:83:78: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long int’ [-Wformat=] user.cpp:25:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&tests); ^ user.cpp:28:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&m); ^ user.cpp:31:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&v[i]); ^ user.cpp:35:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&r[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1564ms1268kbIncorect0
Punctaj total0

Ceva nu functioneaza?