Borderou de evaluare (job #1297809)

Utilizator Kira96Denis Mita Kira96 Data 22 decembrie 2014 12:48:43
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
10ms436kbOK10
24ms544kbOK10
34ms548kbOK10
4192ms3940kbOK10
5192ms3944kbOK10
6276ms7800kbKilled by signal 11(SIGSEGV).0
7272ms7648kbKilled by signal 11(SIGSEGV).0
8296ms8152kbKilled by signal 11(SIGSEGV).0
9272ms7576kbKilled by signal 11(SIGSEGV).0
10272ms7592kbKilled by signal 11(SIGSEGV).0
Punctaj total50

Ceva nu functioneaza?