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 listMay 16, 2024 08:28Ross HaughRoss HaughScore: 2,515,577Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2024 08:282,508,6398,082,166,1398,027,645,08302,260,992
2May 16, 2024 08:282,515,5778,100,731,6948,049,846,23502,252,800
3May 16, 2024 08:282,630,7028,477,659,7478,418,246,24602,256,896