Borderou de evaluare (job #1138563)

Utilizator roparexRoparex roparex Data 10 martie 2014 11:20:52
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:46:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<a[y].size(); j++) ^ user.cpp:62:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",nre); ^ user.cpp:63:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<sol.size(); i++) ^ user.cpp:65: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
112ms6096kbOK!5
212ms6092kbOK!5
312ms6092kbRaspuns Gresit!0
412ms6100kbRaspuns Gresit!0
512ms6116kbRaspuns Gresit!0
612ms6132kbRaspuns Gresit!0
7120ms8292kbRaspuns Gresit!0
8240ms9872kbRaspuns Gresit!0
9372ms11388kbRaspuns Gresit!0
10516ms12952kbRaspuns Gresit!0
11644ms14464kbRaspuns Gresit!0
12688ms14660kbRaspuns Gresit!0
13668ms14864kbRaspuns Gresit!0
14676ms15052kbRaspuns Gresit!0
15680ms15336kbRaspuns Gresit!0
16696ms15584kbRaspuns Gresit!0
17704ms15992kbRaspuns Gresit!0
18716ms16288kbRaspuns Gresit!0
19744ms17204kbRaspuns Gresit!0
20792ms18584kbRaspuns Gresit!0
Punctaj total10

Ceva nu functioneaza?