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 21:45Egor SergeevEgor SergeevScore: 5,109Success
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 21:455,05835,018,77115,173,0001,011,0002,498,560
2May 27, 2021 21:455,08347,105,84416,266,00002,494,464
3May 27, 2021 21:455,08939,143,80016,285,00002,502,656
4May 27, 2021 21:455,09029,902,73616,287,00002,277,376
5May 27, 2021 21:455,09743,317,20416,310,00002,498,560
6May 27, 2021 21:455,10738,062,92816,341,00002,498,560
7May 27, 2021 21:455,10941,465,05116,348,00002,277,376
8May 27, 2021 21:455,11532,141,22616,368,00002,494,464
9May 27, 2021 21:455,12946,399,47916,413,00002,490,368
10May 27, 2021 21:455,34948,057,77017,118,12802,244,608
11May 27, 2021 21:455,38267,572,43517,222,09602,232,320
12May 27, 2021 21:455,50988,286,92517,629,74002,236,416