Borderou de evaluare (job #2299425)

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

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
216ms917kbOK10
3134ms8650kbOK10
4139ms8650kbOK1040
51546ms87048kbOK10
61355ms87031kbOK10
7147ms9175kbOK10
81803ms90652kbOK1030
91836ms90017kbOK10
101916ms90570kbOK10
Punctaj total100

Ceva nu functioneaza?