Borderou de evaluare (job #1297780)

Utilizator Kira96Denis Mita Kira96 Data 22 decembrie 2014 12:32:31
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:170:61: warning: right shift count >= width of type [enabled by default] baga(A2,1,t,1,fin(v[i].y),(v[i].x+v[i].y)>>1 +(1<<30) ,(v[i].y-v[i].x)>>1 +(1<<30) ); ^ user.cpp:170:50: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] baga(A2,1,t,1,fin(v[i].y),(v[i].x+v[i].y)>>1 +(1<<30) ,(v[i].y-v[i].x)>>1 +(1<<30) ); ^ user.cpp:170:90: warning: right shift count >= width of type [enabled by default] baga(A2,1,t,1,fin(v[i].y),(v[i].x+v[i].y)>>1 +(1<<30) ,(v[i].y-v[i].x)>>1 +(1<<30) ); ^ user.cpp:170:79: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] baga(A2,1,t,1,fin(v[i].y),(v[i].x+v[i].y)>>1 +(1<<30) ,(v[i].y-v[i].x)>>1 +(1<<30) ); ^ user.cpp:177:65: warning: right shift count >= width of type [enabled by default] scot(A2,1,t,1,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:177:54: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] scot(A2,1,t,1,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:177:94: warning: right shift count >= width of type [enabled by default] scot(A2,1,t,1,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:177:83: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] scot(A2,1,t,1,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:178:65: warning: right shift count >= width of type [enabled by default] baga(A1,1,t,1,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:178:54: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] baga(A1,1,t,1,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:178:94: warning: right shift count >= width of type [enabled by default] baga(A1,1,t,1,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:178:83: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] baga(A1,1,t,1,fin(v[p].y),(v[p].x+v[p].y)>>1 +(1<<30) ,(v[p].y-v[p].x)>>1 +(1<<30) ); ^ user.cpp:181: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:181:42: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] long long dxu=1LL*(w[i].x+w[i].y)>>1+(1<<30); ^ user.cpp:182: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:182: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
10ms472kbOK10
24ms644kbOK10
34ms640kbOK10
4256ms6736kbOK10
5256ms6736kbOK10
6264msDepăşitMemory limit exceeded.0
7264msDepăşitMemory limit exceeded.0
8264msDepăşitMemory limit exceeded.0
9264msDepăşitMemory limit exceeded.0
10264msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?