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 17, 2025 11:41caandocaandoScore: 4,664Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2025 11:414,65232,506,83013,822,0001,063,0002,285,568
2Oct 17, 2025 11:414,66434,034,07113,930,000995,0002,519,040
3Oct 17, 2025 11:414,71938,440,22713,087,0002,013,0002,273,280