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 listSep 5, 2021 22:58Viktor OreshkinViktor OreshkinScore: 798,522Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 22:58798,0882,618,401,9132,553,881,70602,248,704
2Sep 5, 2021 22:58798,5222,638,346,5412,555,270,71902,240,512
3Sep 5, 2021 22:58798,8142,615,130,5782,556,203,51302,232,320