Borderou de evaluare (job #1910031)

Utilizator VasilescuVasilescu Eliza Vasilescu Data 7 martie 2017 15:13:20
Problema Tribute Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin ,"%ld%ld%ld",&n,&dx,&dy); ^ user.cpp:12:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:12:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:16:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin ,"%ld%ld",&ax,&ay); ^ user.cpp:16:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:57:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%ld\n",sol); ^ user.cpp:12:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin ,"%ld%ld%ld",&n,&dx,&dy); ^ user.cpp:16:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin ,"%ld%ld",&ax,&ay); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1048kbasa se fac punctele..10
24ms1048kbasa se fac punctele..10
34ms1056kbasa se fac punctele..10
44ms1056kbasa se fac punctele..10
58ms1136kbasa se fac punctele..10
616ms1388kbasa se fac punctele..10
712ms1460kbasa se fac punctele..10
816ms1224kbasa se fac punctele..10
924ms1816kbasa se fac punctele..10
1024ms1204kbasa se fac punctele..10
Punctaj total100

Ceva nu functioneaza?