Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJul 23, 2022 04:24Robert BurkeRobert BurkeScore: 4,685Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 04:244,64929,753,57413,886,000991,0002,281,472
2Jul 23, 2022 04:244,65734,511,39513,910,000993,0002,281,472
3Jul 23, 2022 04:244,66630,399,89512,941,0001,990,0002,514,944
4Jul 23, 2022 04:244,66736,767,96312,942,0001,991,0002,523,136
5Jul 23, 2022 04:244,66742,062,98013,939,000995,0002,281,472
6Jul 23, 2022 04:244,66734,180,29712,944,0001,991,0002,424,832
7Jul 23, 2022 04:244,68532,920,00713,992,000999,0002,523,136
8Jul 23, 2022 04:244,68632,212,84613,997,000999,0002,273,280
9Jul 23, 2022 04:244,72131,758,13214,099,0001,007,0002,523,136
10Jul 23, 2022 04:244,85980,832,62815,547,43402,191,360
11Jul 23, 2022 04:244,86675,256,79915,571,95302,191,360
12Jul 23, 2022 04:244,89697,337,12715,666,72502,187,264