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 18:07zielajzielajScore: 366,223Success
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 18:07365,3411,196,168,8331,169,092,00002,486,272
2May 17, 2025 18:07366,2231,201,321,7791,171,914,00002,494,464
3May 17, 2025 18:07366,2631,200,177,5101,171,043,000997,0002,494,464