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 00:57Egor SergeevEgor SergeevScore: 5,187Success
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 00:575,14940,451,82016,478,00002,502,656
2May 30, 2021 00:575,15732,289,41616,503,00002,494,464
3May 30, 2021 00:575,16946,287,13216,540,00002,277,376
4May 30, 2021 00:575,17141,680,70716,548,00002,277,376
5May 30, 2021 00:575,17527,100,30316,560,00002,494,464
6May 30, 2021 00:575,17827,144,37916,571,00002,498,560
7May 30, 2021 00:575,18731,081,81316,598,00002,277,376
8May 30, 2021 00:575,19040,446,93116,607,00002,277,376
9May 30, 2021 00:575,20641,098,52116,659,00002,498,560
10May 30, 2021 00:575,39479,032,46517,260,74402,256,896
11May 30, 2021 00:575,40959,320,53317,307,72502,256,896
12May 30, 2021 00:575,47268,205,66417,509,55002,248,704