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 listApr 17, 2024 13:44Drew GarciaDrew GarciaScore: 5,769Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 13:445,70243,930,00417,232,0001,013,0002,400,256
2Apr 17, 2024 13:445,71848,046,93017,282,0001,016,0002,269,184
3Apr 17, 2024 13:445,72440,930,26817,300,0001,017,0002,269,184
4Apr 17, 2024 13:445,74043,828,86817,349,0001,020,0002,269,184
5Apr 17, 2024 13:445,75341,495,73217,388,0001,022,0002,269,184
6Apr 17, 2024 13:445,75744,257,07217,398,0001,023,0002,400,256
7Apr 17, 2024 13:445,76940,262,55118,461,00002,269,184
8Apr 17, 2024 13:445,77143,086,14617,442,0001,026,0002,269,184
9Apr 17, 2024 13:445,77941,290,84818,493,00002,269,184
10Apr 17, 2024 13:446,169104,515,03319,741,92502,297,856
11Apr 17, 2024 13:446,18790,145,78219,799,85902,297,856
12Apr 17, 2024 13:446,22999,720,95219,932,79502,285,568