Borderou de evaluare (job #1046222)

Utilizator misinozzz zzz misino Data 2 decembrie 2013 19:32:41
Problema Joc7 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%ld%ld%ld",&n,&k,&m); ^ user.cpp:20:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:20:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:22:38: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%ld%ld",&v[i].a,&v[i].b); ^ user.cpp:22:38: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:49:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%ld %ld\n",n,nr-1); ^ user.cpp:49:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:51:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%ld %ld\n",n,nr); ^ user.cpp:51:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms248kbOK10
34ms256kbIncorect0
40ms248kbOK10
50ms248kbOK10
64ms248kbIncorect0
70ms244kbIncorect0
84ms248kbIncorect0
94ms256kbIncorect0
100ms244kbOK10
Punctaj total50

Ceva nu functioneaza?