Borderou de evaluare (job #1138564)

Utilizator roparexRoparex roparex Data 10 martie 2014 11:22:13
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
112ms6096kbOK!5
212ms6100kbOK!5
312ms6096kbRaspuns Gresit!0
412ms6100kbRaspuns Gresit!0
512ms6116kbRaspuns Gresit!0
612ms6132kbRaspuns Gresit!0
7120ms8292kbRaspuns Gresit!0
8240ms9872kbRaspuns Gresit!0
9368ms11388kbRaspuns Gresit!0
10508ms12952kbRaspuns Gresit!0
11640ms14460kbRaspuns Gresit!0
12680ms14656kbRaspuns Gresit!0
13668ms14864kbRaspuns Gresit!0
14668ms15056kbRaspuns Gresit!0
15684ms15336kbRaspuns Gresit!0
16692ms15584kbRaspuns Gresit!0
17700ms15988kbRaspuns Gresit!0
18716ms16292kbRaspuns Gresit!0
19748ms17204kbRaspuns Gresit!0
20792ms18592kbRaspuns Gresit!0
Punctaj total10

Ceva nu functioneaza?