Borderou de evaluare (job #1138547)

Utilizator roparexRoparex roparex Data 10 martie 2014 10:56:10
Problema Markon Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld",&n,&m,&init); ^ user.cpp:14:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:14:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:19:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:22:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&x,&y); ^ user.cpp:22:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:33:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<a[x].size(); i++) ^ user.cpp:46:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",nre); ^ user.cpp:47:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<sol.size();i++) ^ user.cpp:49:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ [-Wformat=] printf("%ld\n",sol[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms6108kbOK!5
212ms6108kbOK!5
312ms6108kbRaspuns Gresit!0
412ms6112kbRaspuns Gresit!0
512ms6132kbRaspuns Gresit!0
612ms6140kbRaspuns Gresit!0
7124ms8292kbRaspuns Gresit!0
8244ms9892kbRaspuns Gresit!0
9372ms11412kbRaspuns Gresit!0
10516ms12960kbRaspuns Gresit!0
11640ms14476kbRaspuns Gresit!0
12688ms14672kbRaspuns Gresit!0
13672ms14888kbRaspuns Gresit!0
14680ms15068kbRaspuns Gresit!0
15684ms15356kbRaspuns Gresit!0
16692ms15596kbRaspuns Gresit!0
17708ms16012kbRaspuns Gresit!0
18724ms16304kbRaspuns Gresit!0
19740ms17208kbRaspuns Gresit!0
20796ms18604kbRaspuns Gresit!0
Punctaj total10

Ceva nu functioneaza?