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 listApr 18, 2024 14:21Robert BurkeRobert BurkeError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 14:2100000Error: expected "975374 ", got "975375 "stderr
2Apr 18, 2024 14:2100000Error: expected "975485 ", got "975486 "stderr
3Apr 18, 2024 14:224,74878,814,46615,194,17402,207,744
4Apr 18, 2024 14:224,76889,232,60715,256,64802,199,552
5Apr 18, 2024 14:224,79291,425,00715,333,93902,199,552