Borderou de evaluare (job #1138567)

Utilizator roparexRoparex roparex Data 10 martie 2014 11:26:55
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:13: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:13:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:13:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:18:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:21:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&x,&y); ^ user.cpp:21:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:32:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<a[x].size(); i++) ^ user.cpp:47:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<a[y].size(); j++) ^ user.cpp:63:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",nre); ^ user.cpp:64:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<sol.size(); i++) ^ user.cpp:66: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
112ms6092kbOK!5
212ms6096kbOK!5
312ms6096kbRaspuns Gresit!0
412ms6100kbRaspuns Gresit!0
512ms6120kbRaspuns Gresit!0
612ms6132kbRaspuns Gresit!0
7128ms8292kbRaspuns Gresit!0
8240ms9876kbRaspuns Gresit!0
9372ms11396kbRaspuns Gresit!0
10512ms12944kbRaspuns Gresit!0
11644ms14464kbRaspuns Gresit!0
12684ms14656kbRaspuns Gresit!0
13672ms14868kbRaspuns Gresit!0
14668ms15060kbRaspuns Gresit!0
15680ms15336kbRaspuns Gresit!0
16700ms15576kbRaspuns Gresit!0
17708ms15992kbRaspuns Gresit!0
18708ms16288kbRaspuns Gresit!0
19756ms17196kbRaspuns Gresit!0
20804ms18584kbRaspuns Gresit!0
Punctaj total10

Ceva nu functioneaza?