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 listApr 29, 2025 00:29Steve BronderSteve BronderScore: 5,226Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2025 00:295,20444,551,71316,653,00002,277,376
2Apr 29, 2025 00:295,21544,743,75916,687,00002,539,520
3Apr 29, 2025 00:295,22031,840,94716,704,00002,428,928
4Apr 29, 2025 00:295,22340,400,43916,714,00002,441,216
5Apr 29, 2025 00:295,22641,201,48816,722,00002,277,376
6Apr 29, 2025 00:295,26839,955,39216,859,00002,424,832
7Apr 29, 2025 00:295,27043,097,59414,881,0001,984,0002,445,312
8Apr 29, 2025 00:295,27141,887,64715,875,000992,0002,535,424
9Apr 29, 2025 00:295,27135,727,58915,876,000992,0002,441,216