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 15, 2021 19:34alex3dalex3dScore: 6,154Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 19:346,10641,328,57319,540,00002,527,232
2May 15, 2021 19:346,11940,528,09318,552,0001,030,0002,326,528
3May 15, 2021 19:346,12745,620,57418,575,0001,031,0002,326,528
4May 15, 2021 19:346,13946,215,26218,611,0001,033,0002,326,528
5May 15, 2021 19:346,14951,833,30717,605,0002,071,0002,326,528
6May 15, 2021 19:346,15143,188,40417,612,0002,072,0002,531,328
7May 15, 2021 19:346,15452,901,67518,658,0001,036,0002,535,424
8May 15, 2021 19:346,16646,662,71718,694,0001,038,0002,326,528
9May 15, 2021 19:346,18482,849,18219,789,12202,240,512
10May 15, 2021 19:346,20877,737,35619,864,37202,244,608
11May 15, 2021 19:346,21136,868,61618,883,000993,0002,326,528
12May 15, 2021 19:346,34284,740,82720,293,19702,240,512