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 listJul 27, 2024 05:50KJ16609KJ16609Score: 2,537,538Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 05:502,536,3828,183,305,4548,116,423,79602,396,160
2Jul 27, 2024 05:502,537,5388,178,814,6988,120,122,63602,387,968
3Jul 27, 2024 05:502,583,5108,333,770,6648,267,232,04102,387,968