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 25, 2025 20:57vahookvahookScore: 4,171Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 20:574,14329,796,29413,257,00002,498,560
2Apr 25, 2025 20:584,15233,410,46313,287,00002,273,280
3Apr 25, 2025 20:584,15325,969,36813,291,00002,273,280
4Apr 25, 2025 20:584,17128,809,05113,346,00002,494,464
5Apr 25, 2025 20:574,17631,867,00713,362,00002,273,280
6Apr 25, 2025 20:574,18934,479,13913,404,00002,502,656