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 listDec 25, 2021 00:47Alexander KimAlexander KimScore: 5,804Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 00:475,76844,707,22017,434,0001,025,0002,301,952
2Dec 25, 2021 00:475,77843,118,02217,462,0001,027,0002,334,720
3Dec 25, 2021 00:475,77936,472,06117,467,0001,027,0002,301,952
4Dec 25, 2021 00:475,78641,302,26318,515,00002,334,720
5Dec 25, 2021 00:475,79137,814,54717,501,0001,029,0002,301,952
6Dec 25, 2021 00:475,79141,995,83317,502,0001,029,0002,306,048
7Dec 25, 2021 00:475,80440,466,24718,572,00002,334,720
8Dec 25, 2021 00:475,81932,806,30117,588,0001,034,0002,310,144
9Dec 25, 2021 00:475,83783,037,24918,678,85302,273,280
10Dec 25, 2021 00:475,84745,814,45317,727,000984,0002,334,720
11Dec 25, 2021 00:475,85083,049,79918,719,16102,260,992
12Dec 25, 2021 00:475,85982,933,73718,748,16202,273,280