Borderou de evaluare (job #1297828)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:144: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:144: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:144: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:144: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:151: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:151: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:151: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:151: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:152: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:152: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:152: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:152: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:155: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:155:42: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] long long dxu=1LL*(w[i].x+w[i].y)>>1+(1<<30); ^ user.cpp:156: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:156: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
10ms440kbIncorect0
24ms516kbIncorect0
34ms524kbIncorect0
4164ms3012kbIncorect0
5164ms3012kbIncorect0
6268ms7452kbKilled by signal 11(SIGSEGV).0
7268ms7448kbKilled by signal 11(SIGSEGV).0
8272ms7468kbKilled by signal 11(SIGSEGV).0
9272ms7460kbKilled by signal 11(SIGSEGV).0
10272ms7492kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?