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 listApr 22, 2025 22:26vahookvahookScore: 4,218Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2025 22:264,19336,126,71613,417,00002,494,464
2Apr 22, 2025 22:264,20532,251,06813,457,00002,494,464
3Apr 22, 2025 22:264,20730,786,41313,462,00002,498,560
4Apr 22, 2025 22:264,21831,910,68713,496,00002,273,280
5Apr 22, 2025 22:264,22133,091,35213,507,00002,273,280
6Apr 22, 2025 22:264,23235,883,70813,541,00002,273,280