Borderou de evaluare (job #1026255)

Utilizator antonioteoZait Teodor Antonio antonioteo Data 11 noiembrie 2013 14:04:48
Problema Zoo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:35:51: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] for(i=1;i<=n;i++) scanf("%ld %ld",&a[i].x,&a[i].y); ^ user.cpp:35:51: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp: In function ‘void compute()’: user.cpp:114:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&nd); ^ user.cpp:117:42: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld %ld",&xa,&ya,&xb,&yb); ^ user.cpp:117:42: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:117:42: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:117:42: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:172:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",np); ^ user.cpp:109:8: warning: unused variable ‘i’ [-Wunused-variable] int nd,i,j,k,p,li,ls,m; ^ user.cpp:109:10: warning: unused variable ‘j’ [-Wunused-variable] int nd,i,j,k,p,li,ls,m; ^ user.cpp:109:14: warning: unused variable ‘p’ [-Wunused-variable] int nd,i,j,k,p,li,ls,m; ^ user.cpp:109:22: warning: unused variable ‘m’ [-Wunused-variable] int nd,i,j,k,p,li,ls,m; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms340kbOK10
20ms336kbOK10
34ms408kbOK10
452ms1336kbOK10
5116ms1340kbOK10
6240ms1340kbOK10
7284ms1340kbOK10
8152ms1336kbOK10
9240ms1336kbOK10
10208ms1336kbOK10
Punctaj total100

Ceva nu functioneaza?