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 13:15lukostlukostScore: 4,472Success
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 13:154,45744,527,63113,244,0001,018,0002,531,328
2Apr 28, 2025 13:154,46234,885,68513,258,0001,019,0002,531,328
3Apr 28, 2025 13:154,46232,567,99513,258,0001,019,0002,531,328
4Apr 28, 2025 13:154,46428,359,53213,266,0001,020,0002,445,312
5Apr 28, 2025 13:154,47240,799,28713,287,0001,022,0002,531,328
6Apr 28, 2025 13:154,47336,763,00913,291,0001,022,0002,269,184
7Apr 28, 2025 13:154,47734,134,92713,303,0001,023,0002,449,408
8Apr 28, 2025 13:154,47830,113,14913,305,0001,023,0002,531,328
9Apr 28, 2025 13:154,47935,312,10212,285,0002,047,0002,449,408