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 21, 2021 09:47Andrei GrazhdankovAndrei GrazhdankovScore: 11,770Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 09:4711,66098,548,28037,312,59502,252,800
2May 21, 2021 09:4711,697104,358,00337,430,30402,265,088
3May 21, 2021 09:4711,737115,602,46437,559,27102,265,088
4May 21, 2021 09:4711,770107,814,26437,664,03502,256,896
5May 21, 2021 09:4711,78099,626,99337,697,19802,248,704
6May 21, 2021 09:4711,83392,479,78237,866,94302,248,704