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 listOct 20, 2023 14:21LukasLukasScore: 2,645,598Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 20, 2023 14:212,535,8118,173,716,4958,114,595,28902,256,896
2Oct 20, 2023 14:212,645,5988,522,648,8518,465,912,90202,252,800
3Oct 20, 2023 14:212,649,9938,546,143,1998,479,976,59202,248,704