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 23, 2024 17:00vahookvahookScore: 391,441Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 23, 2024 17:00389,2101,267,144,2431,244,474,000999,0002,490,368
2Sep 23, 2024 17:00391,4411,280,614,9061,249,613,0002,999,0002,269,184
3Sep 23, 2024 17:00403,3551,312,765,3781,289,736,000999,0002,486,272