Borderou de evaluare (job #1138569)

Utilizator roparexRoparex roparex Data 10 martie 2014 11:31:27
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:17:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:20:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&x,&y); ^ user.cpp:20:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:33: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
112ms6088kbOK!5
212ms6096kbOK!5
312ms6100kbRaspuns Gresit!0
412ms6100kbRaspuns Gresit!0
512ms6120kbRaspuns Gresit!0
612ms6128kbRaspuns Gresit!0
7120ms8284kbRaspuns Gresit!0
8240ms9872kbRaspuns Gresit!0
9372ms11392kbRaspuns Gresit!0
10512ms12952kbRaspuns Gresit!0
11644ms14468kbRaspuns Gresit!0
12652ms14656kbRaspuns Gresit!0
13672ms14868kbRaspuns Gresit!0
14676ms15056kbRaspuns Gresit!0
15684ms15336kbRaspuns Gresit!0
16692ms15580kbRaspuns Gresit!0
17708ms15996kbRaspuns Gresit!0
18720ms16288kbRaspuns Gresit!0
19752ms17196kbRaspuns Gresit!0
20792ms18584kbRaspuns Gresit!0
Punctaj total10

Ceva nu functioneaza?