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 listFeb 19, 2024 06:59Huy Duc LeHuy Duc LeScore: 2,514,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2024 06:592,509,2328,087,672,9778,029,543,37302,260,992
2Feb 19, 2024 06:592,514,0858,110,614,7138,045,071,58102,265,088
3Feb 19, 2024 06:592,619,7838,442,990,7758,383,304,06602,260,992