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 listDec 23, 2024 23:43ii14ii14Score: 5,643Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2024 23:435,62837,756,40617,011,0001,000,0002,400,256
2Dec 23, 2024 23:435,64342,173,63815,047,0003,009,0002,269,184
3Dec 23, 2024 23:435,65440,063,91416,084,0002,010,0002,269,184