/in/foo.cc:51:15: error: conflicting declaration 'ui tax [4][256]'
ui tax[4][base];
^
/in/foo.cc:49:10: note: previous declaration as 'ui tax [1000110]'
ui a[N], tax[N], b[N];
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:69:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (ri i = 0; i < n; i++)
~~^~~
/in/foo.cc:70:21: error: invalid types 'ui {aka unsigned int}[ui {aka unsigned int}]' for array subscript
tax[id][a[i] & 255]++;
^
/in/foo.cc:72:12: error: invalid types 'ui {aka unsigned int}[int]' for array subscript
tax[id][i] += tax[id][i - 1];
^
/in/foo.cc:72:30: error: invalid types 'ui {aka unsigned int}[int]' for array subscript
tax[id][i] += tax[id][i - 1];
^
/in/foo.cc:74:25: error: invalid types 'ui {aka unsigned int}[ui {aka unsigned int}]' for array subscript
b[--tax[id][a[i] & 255]] = a[i];
^
/in/foo.cc:80:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (ri i = 0; i < n; i++)
~~^~~
/in/foo.cc:82:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
return;
^~~~~~
/in/foo.cc:84:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (ri i = 0; i < n; i++)
~~^~~
/in/foo.cc:85:28: error: invalid types 'ui {aka unsigned int}[ui {aka unsigned int}]' for array subscript
tax[id][(b[i] >> 8) & 255]++;
^
/in/foo.cc:87:12: error: invalid types 'ui {aka unsigned int}[int]' for array subscript
tax[id][i] += tax[id][i - 1];
^
/in/foo.cc:87:30: error: invalid types 'ui {aka unsigned int}[int]' for array subscript
tax[id][i] += tax[id][i - 1];
^
/in/foo.cc:89:32: error: invalid types 'ui {aka unsigned int}[ui {aka unsigned int}]' for array subscript
a[--tax[id][(b[i] >> 8) & 255]] = b[i];
^
/in/foo.cc:94:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
return;
^~~~~~
/in/foo.cc:95:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (ri i = 0; i < n; i++)
~~^~~
/in/foo.cc:96:29: error: invalid types 'ui {aka unsigned int}[ui {aka unsigned int}]' for array subscript
tax[id][(a[i] >> 16) & 255]++;
^
/in/foo.cc:98:12: error: invalid types 'ui {aka unsigned int}[int]' for array subscript
tax[id][i] += tax[id][i - 1];
^
/in/foo.cc:98:30: error: invalid types 'ui {aka unsigned int}[int]' for array subscript
tax[id][i] += tax[id][i - 1];
^
/in/foo.cc:100:33: error: invalid types 'ui {aka unsigned int}[ui {aka unsigned int}]' for array subscript
b[--tax[id][(a[i] >> 16) & 255]] = a[i];
^
/in/foo.cc:106:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (ri i = 0; i < n; i++)
~~^~~
/in/foo.cc:108:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
return;
^~~~~~
/in/foo.cc:110:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (ri i = 0; i < n; i++)
~~^~~
/in/foo.cc:111:29: error: invalid types 'ui {aka unsigned int}[ui {aka unsigned int}]' for array subscript
tax[id][(b[i] >> 24) & 255]++;
^
/in/foo.cc:113:12: error: invalid types 'ui {aka unsigned int}[int]' for array subscript
tax[id][i] += tax[id][i - 1];
^
/in/foo.cc:113:30: error: invalid types 'ui {aka unsigned int}[int]' for array subscript
tax[id][i] += tax[id][i - 1];
^
/in/foo.cc:115:33: error: invalid types 'ui {aka unsigned int}[ui {aka unsigned int}]' for array subscript
a[--tax[id][(b[i] >> 24) & 255]] = b[i];
^