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 listMay 17, 2025 19:09zielajzielajScore: 366,066Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2025 19:09365,3681,198,569,6851,167,182,0001,995,0002,265,088
2May 17, 2025 19:09366,0661,195,761,5801,170,414,000997,0002,486,272
3May 17, 2025 19:09366,5041,197,166,9411,171,815,000997,0002,527,232