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 00:54Robert BurkeRobert BurkeScore: 4,649Success
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 00:544,64542,458,70113,873,000990,0002,441,216
2Jul 23, 2022 00:544,64642,280,29013,876,000991,0002,281,472
3Jul 23, 2022 00:544,64848,254,20512,890,0001,983,0002,281,472
4Jul 23, 2022 00:544,64927,641,68512,893,0001,983,0002,453,504
5Jul 23, 2022 00:544,64931,696,35613,885,000991,0002,449,408
6Jul 23, 2022 00:544,64932,115,42712,893,0001,983,0002,445,312
7Jul 23, 2022 00:544,64947,009,07212,895,0001,983,0002,281,472
8Jul 23, 2022 00:544,65141,483,23713,891,000992,0002,445,312
9Jul 23, 2022 00:544,66039,801,22012,923,0001,988,0002,445,312
10Jul 23, 2022 00:544,84664,244,15915,508,07402,191,360
11Jul 23, 2022 00:544,85754,877,41015,543,55202,203,648
12Jul 23, 2022 00:544,88590,938,50515,632,25402,203,648