Borderou de evaluare (job #1297804)

Utilizator Kira96Denis Mita Kira96 Data 22 decembrie 2014 12:47:41
Problema DistanceSum Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:147:55: warning: right shift count >= width of type [enabled by default] baga(A2,fin(v[i].y),(v[i].x+v[i].y)>>1 +(1<<30) ,(v[i].y-v[i].x)>>1 +(1<<30) ); ^ user.cpp:147:44: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] baga(A2,fin(v[i].y),(v[i].x+v[i].y)>>1 +(1<<30) ,(v[i].y-v[i].x)>>1 +(1<<30) ); ^ user.cpp:147:84: warning: right shift count >= width of type [enabled by default] baga(A2,fin(v[i].y),(v[i].x+v[i].y)>>1 +(1<<30) ,(v[i].y-v[i].x)>>1 +(1<<30) ); ^ user.cpp:147:73: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] baga(A2,fin(v[i].y),(v[i].x+v[i].y)>>1 +(1<<30) ,(v[i].y-v[i].x)>>1 +(1<<30) ); ^ user.cpp:154:59: warning: right shift count >= width of type [enabled by default] scot(A2,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:154:48: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] scot(A2,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:154:88: warning: right shift count >= width of type [enabled by default] scot(A2,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:154:77: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] scot(A2,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:155:59: warning: right shift count >= width of type [enabled by default] baga(A1,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:155:48: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] baga(A1,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:155:88: warning: right shift count >= width of type [enabled by default] baga(A1,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:155:77: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] baga(A1,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:158:52: warning: right shift count >= width of type [enabled by default] long long dxu=1LL*(w[i].x+w[i].y)>>1+(1<<30); ^ user.cpp:158:42: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] long long dxu=1LL*(w[i].x+w[i].y)>>1+(1<<30); ^ user.cpp:159:52: warning: right shift count >= width of type [enabled by default] long long dyu=1LL*(w[i].y-w[i].x)>>1+(1<<30); ^ user.cpp:159:42: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] long long dyu=1LL*(w[i].y-w[i].x)>>1+(1<<30); ^ user.cpp: In function ‘int fin(int)’:
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK10
24ms552kbOK10
34ms552kbOK10
4192ms3948kbOK10
5192ms3956kbOK10
6276msDepăşitMemory limit exceeded.0
7276msDepăşitMemory limit exceeded.0
8284msDepăşitMemory limit exceeded.0
9288msDepăşitMemory limit exceeded.0
10276msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?