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:45Mikhail DektyarevMikhail DektyarevScore: 8,593Success
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:598,554107,956,98627,372,13602,281,472
2May 11, 2021 18:458,57170,374,38127,427,03802,277,376
3May 11, 2021 18:598,59268,017,25427,493,62802,277,376
4May 11, 2021 18:598,59391,322,30227,498,28002,281,472
5May 11, 2021 18:458,60681,405,67527,539,17402,191,360
6May 11, 2021 18:458,60787,985,65027,542,74702,277,376