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 19, 2021 08:11Andrei GrazhdankovAndrei GrazhdankovScore: 11,681Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 08:1111,42887,336,49236,570,97302,195,456
2May 19, 2021 08:1111,498101,714,77236,793,00502,187,264
3May 19, 2021 08:1111,606105,677,90837,140,75602,187,264
4May 19, 2021 08:1111,68182,917,91437,380,10202,195,456
5May 19, 2021 08:1111,709106,585,39237,468,72602,191,360
6May 19, 2021 08:1111,786101,292,59237,714,05202,314,240