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 11, 2021 18:57Mikhail DektyarevMikhail DektyarevScore: 8,351Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 18:578,315105,272,10126,606,67102,273,280
2May 11, 2021 18:568,32285,767,29626,629,97602,277,376
3May 11, 2021 18:568,32890,586,86026,650,46302,281,472
4May 11, 2021 18:578,35194,790,76826,722,21802,273,280
5May 11, 2021 18:568,39586,659,09326,864,80402,285,568
6May 11, 2021 18:578,41874,610,89026,937,28502,293,760