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 listJun 18, 2023 01:04Dmitry GruntovDmitry GruntovScore: 1,472,826Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 18, 2023 01:041,471,3074,770,738,1414,708,181,56802,199,552
2Jun 18, 2023 01:041,472,8264,790,197,3004,713,044,00702,207,744
3Jun 18, 2023 01:041,473,7584,779,946,5854,716,026,94002,207,744