Borderou de evaluare (job #2680815)

Utilizator Luca_Miscocilucainfoarena Luca_Miscoci Data 4 decembrie 2020 14:07:40
Problema Radix Sort Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void mysort(int*, int*, int, int)': main.cpp:7:23: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] #define MASK (1 << 8) - 1 ~~~~~~~~~^~~ main.cpp:17:27: note: in expansion of macro 'MASK' nr = vec[i] >> bits & MASK; ^~~~ main.cpp:7:23: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] #define MASK (1 << 8) - 1 ~~~~~~~~~^~~ main.cpp:29:27: note: in expansion of macro 'MASK' nr = vec[i] >> bits & MASK; ^~~~ main.cpp: In function 'int main()': main.cpp:39:43: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin , "%d%d%d%d" ,&n ,&a ,&b, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1030
217ms917kbOK10
3152ms8650kbOK10
4157ms8650kbOK1040
51383ms87031kbOK10
61720ms86900kbOK10
7153ms9175kbOK10
81905ms90521kbOK1030
91601ms90013kbOK10
101630ms90570kbOK10
Punctaj total100

Ceva nu functioneaza?