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 28, 2025 06:28lukostlukostScore: 4,464Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 06:284,44536,096,19012,192,0002,032,0002,269,184
2Apr 28, 2025 06:284,45930,236,58913,249,0001,019,0002,531,328
3Apr 28, 2025 06:284,46332,508,62113,261,0001,020,0002,437,120
4Apr 28, 2025 06:284,46326,506,29813,261,0001,020,0002,527,232
5Apr 28, 2025 06:284,46430,508,70813,266,0001,020,0002,531,328
6Apr 28, 2025 06:284,46934,399,84913,280,0001,021,0002,269,184
7Apr 28, 2025 06:284,47635,465,07713,301,0001,023,0002,449,408
8Apr 28, 2025 06:284,47832,143,83613,307,0001,023,0002,531,328
9Apr 28, 2025 06:284,48226,202,65714,341,00002,449,408