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 30, 2021 01:16Egor SergeevEgor SergeevScore: 5,190Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 01:165,15442,242,06216,493,00002,498,560
2May 30, 2021 01:165,15934,127,22916,510,00002,498,560
3May 30, 2021 01:165,16435,321,16616,525,00002,502,656
4May 30, 2021 01:165,17137,457,40716,548,00002,494,464
5May 30, 2021 01:165,17329,158,32516,553,00002,498,560
6May 30, 2021 01:165,17435,321,73116,557,00002,277,376
7May 30, 2021 01:165,19037,203,19416,609,00002,277,376
8May 30, 2021 01:165,19241,178,42616,613,00002,498,560
9May 30, 2021 01:165,20746,385,59016,661,00002,498,560
10May 30, 2021 01:165,35565,682,75517,135,92202,240,512
11May 30, 2021 01:165,40247,455,25317,287,05702,260,992
12May 30, 2021 01:165,41774,516,35617,334,20802,375,680