Pagini recente » Borderou de evaluare (job #1369753) | Borderou de evaluare (job #2075471) | Borderou de evaluare (job #317539) | Borderou de evaluare (job #534049) | Borderou de evaluare (job #2299421)
Borderou de evaluare (job #2299421)
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 |
1 | 2ms | 131kb | OK | 10 | 30 |
2 | 15ms | 917kb | OK | 10 |
3 | 133ms | 8650kb | OK | 10 |
4 | 135ms | 8650kb | OK | 10 | 0 |
5 | 1202ms | 87031kb | OK | 10 |
6 | 1485ms | 86900kb | OK | 10 |
7 | 152ms | 9175kb | Incorect | 0 |
8 | 1223ms | 91095kb | Incorect | 0 | 0 |
9 | 1286ms | 90439kb | Incorect | 0 |
10 | 1139ms | 91095kb | Incorect | 0 |
Punctaj total | 30 |