Borderou de evaluare (job #2299421)

Utilizator bleo16783FMI Bleotiu Cristian bleo16783 Data 9 decembrie 2018 15:51:56
Problema Radix Sort Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void radix(int (*)[10001000], int)': main.cpp:7:23: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] #define mask (1 << 8) -1 ~~~~~~~~~^~ main.cpp:17:48: note: in expansion of macro 'mask' ++cnt[(v[it & 1][i] >> (it * 8)) & mask ]; ^~~~ main.cpp:7:23: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] #define mask (1 << 8) -1 ~~~~~~~~~^~ main.cpp:8:35: note: in expansion of macro 'mask' #define pos(x) (x >> (it * 8) ) & mask ^~~~ main.cpp:22:32: note: in expansion of macro 'pos' v[( it + 1) & 1][index[pos(v[it & 1][i])]++] = v[it & 1][i]; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1030
215ms917kbOK10
3133ms8650kbOK10
4135ms8650kbOK100
51202ms87031kbOK10
61485ms86900kbOK10
7152ms9175kbIncorect0
81223ms91095kbIncorect00
91286ms90439kbIncorect0
101139ms91095kbIncorect0
Punctaj total30

Ceva nu functioneaza?