Borderou de evaluare (job #2417382)

Utilizator Andrei2000Andrei Mihailescu Andrei2000 Data 29 aprilie 2019 17:20:35
Problema Radix Sort Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:3:23: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] #define Mask (1 << 8) - 1 ~~~~~~~~~^~~ main.cpp:28:45: note: in expansion of macro 'Mask' ++ frq[(v[t][i] >> (B * dig)) & Mask]; ^~~~ main.cpp:3:23: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] #define Mask (1 << 8) - 1 ~~~~~~~~~^~~ main.cpp:32:48: note: in expansion of macro 'Mask' int val = (v[t][i] >> (B * dig)) & Mask; ^~~~ main.cpp:19:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &n, &a, &b, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms131kbOK1030
217ms917kbOK10
3153ms8650kbOK10
4164ms8650kbOK1040
51392ms87031kbOK10
61401ms86900kbOK10
7153ms9175kbOK10
81930ms90615kbOK1030
91955ms90046kbOK10
101985ms90570kbOK10
Punctaj total100

Ceva nu functioneaza?