Borderou de evaluare (job #1138538)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21: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:21:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:21:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:26:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:29:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&x,&y); ^ user.cpp:29:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:39:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<a[x].size(); i++) ^ user.cpp:42:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(viz[a[x][i]]==0&&v[x]>nr[x]||v[x]==0) ^ user.cpp:52:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",nre); ^ user.cpp:53:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<sol.size();i++) ^ user.cpp:55: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
1Depăşit25316kbTime limit exceeded.0
21012msDepăşitMemory limit exceeded.0
3544msDepăşitMemory limit exceeded.0
4648msDepăşitMemory limit exceeded.0
5456msDepăşitMemory limit exceeded.0
6Depăşit28784kbTime limit exceeded.0
7Depăşit23340kbTime limit exceeded.0
8240ms9848kbRaspuns Gresit!0
9Depăşit22468kbTime limit exceeded.0
10Depăşit20332kbTime limit exceeded.0
11Depăşit19856kbTime limit exceeded.0
12Depăşit20040kbTime limit exceeded.0
13Depăşit18884kbTime limit exceeded.0
14Depăşit19092kbTime limit exceeded.0
15Depăşit18324kbTime limit exceeded.0
16Depăşit18568kbTime limit exceeded.0
17Depăşit19916kbTime limit exceeded.0
18Depăşit20196kbTime limit exceeded.0
19Depăşit20888kbTime limit exceeded.0
20Depăşit21304kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?