Pagini recente » Borderou de evaluare (job #1608854) | Borderou de evaluare (job #2544407) | Borderou de evaluare (job #664495) | Borderou de evaluare (job #678402) | Borderou de evaluare (job #2297082)
Borderou de evaluare (job #2297082)
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];
^~~
main.cpp: In function 'int main()':
main.cpp:29:9: warning: unused variable 'i' [-Wunused-variable]
int i,n = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 11ms | 131kb | Incorect | 0 | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 0 |