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 22, 2021 18:04Andrey TsvetkovAndrey TsvetkovScore: 6,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 18:046,60273,164,73921,125,39102,224,128
2May 22, 2021 18:046,62592,251,84721,198,49202,228,224
3May 22, 2021 18:046,68377,653,45021,384,84902,220,032
4May 22, 2021 18:046,70381,180,92221,448,82602,228,224
5May 22, 2021 18:046,71790,531,27421,495,02202,240,512
6May 22, 2021 18:046,74593,864,89221,583,91202,232,320