Demo entry 6678308

Par

   

Submitted by anonymous on Dec 06, 2017 at 03:14
Language: C. Code size: 184 Bytes.

size_t count[16] = {0};
...
#pragma omp parallel {
	#pragma omp for reduction(+: count[:]) 
		for (size_t i = 0; i < n; i++)
			++count[DIGIT(a[i], bitmask, rshift_amt)];
		...

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).