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 31, 2025 04:25AnSaAnSaScore: 4,675Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2025 04:254,65239,503,12513,895,000992,0002,289,664
2Oct 31, 2025 04:254,67532,864,72413,962,000997,0002,265,088
3Oct 31, 2025 04:254,69944,265,76413,032,0002,005,0002,269,184