Borderou de evaluare (job #1297806)

Utilizator Kira96Denis Mita Kira96 Data 22 decembrie 2014 12:48:10
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
10ms456kbOK10
24ms556kbOK10
34ms564kbOK10
4192ms3964kbOK10
5192ms3964kbOK10
6268ms7772kbKilled by signal 11(SIGSEGV).0
7276ms7644kbKilled by signal 11(SIGSEGV).0
8304ms8156kbKilled by signal 11(SIGSEGV).0
9272ms7576kbKilled by signal 11(SIGSEGV).0
10276ms7576kbKilled by signal 11(SIGSEGV).0
Punctaj total50

Ceva nu functioneaza?