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 listSep 21, 2024 16:35vahookvahookScore: 4,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 21, 2024 16:354,64335,509,42213,868,000990,0002,277,376
2Sep 21, 2024 16:354,65331,782,73413,899,000992,0002,498,560
3Sep 21, 2024 16:354,68242,146,87813,983,000998,0002,502,656