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 listOct 28, 2025 06:59Sergey SamokhvalovSergey SamokhvalovScore: 5,994Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 28, 2025 06:595,97739,907,73617,113,0002,013,0002,265,088
2Oct 28, 2025 06:595,99440,080,70818,173,0001,009,0002,285,568
3Oct 28, 2025 06:596,02843,070,89617,259,0002,030,0002,519,040