Borderou de evaluare (job #1297803)

Utilizator Kira96Denis Mita Kira96 Data 22 decembrie 2014 12:47:01
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
10ms444kbOK10
24ms548kbOK10
34ms548kbOK10
4192ms3952kbOK10
5192ms3952kbOK10
6284ms7800kbKilled by signal 11(SIGSEGV).0
7272ms7780kbKilled by signal 11(SIGSEGV).0
8280ms7788kbKilled by signal 11(SIGSEGV).0
9276ms7772kbKilled by signal 11(SIGSEGV).0
10288ms7756kbKilled by signal 11(SIGSEGV).0
Punctaj total50

Ceva nu functioneaza?