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 listMay 27, 2021 14:47Egor SergeevEgor SergeevScore: 5,150Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 14:475,12441,532,95616,397,00002,494,464
2May 27, 2021 14:475,13132,283,40316,418,00002,502,656
3May 27, 2021 14:475,13333,504,42716,426,00002,494,464
4May 27, 2021 14:475,13931,084,58016,446,00002,273,280
5May 27, 2021 14:475,14030,115,70116,447,00002,498,560
6May 27, 2021 14:475,14647,498,15916,468,00002,494,464
7May 27, 2021 14:475,15035,311,13816,479,00002,498,560
8May 27, 2021 14:475,17128,984,44416,547,00002,277,376
9May 27, 2021 14:475,17329,969,65416,552,00002,502,656
10May 27, 2021 14:475,37244,153,36417,189,28102,248,704
11May 27, 2021 14:475,44248,286,40617,414,20102,260,992
12May 27, 2021 14:475,52977,226,38317,692,21902,260,992