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 3, 2025 20:40Adam FolwarcznyAdam FolwarcznyScore: 4,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2025 20:404,26628,996,15013,650,00002,510,848
2May 3, 2025 20:404,26631,909,50512,602,0001,050,0002,531,328
3May 3, 2025 20:404,26927,778,92712,610,0001,050,0002,428,928
4May 3, 2025 20:404,27033,948,60612,614,0001,051,0002,433,024
5May 3, 2025 20:404,27329,317,32013,674,00002,428,928
6May 3, 2025 20:404,27332,988,88513,675,00002,269,184
7May 3, 2025 20:404,27839,188,53413,691,00002,531,328
8May 3, 2025 20:404,28328,466,97813,704,00002,428,928
9May 3, 2025 20:404,34129,952,61012,899,000992,0002,531,328