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 1, 2022 14:54Sergey SlotinSergey SlotinScore: 5,647Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2022 14:545,60241,054,38613,942,0003,983,0002,269,184
2Oct 1, 2022 14:545,60644,848,62316,943,000996,0002,277,376
3Oct 1, 2022 14:545,62045,062,25516,984,000999,0002,277,376
4Oct 1, 2022 14:545,62242,480,43515,992,0001,999,0002,277,376
5Oct 1, 2022 14:545,62843,385,89616,010,0002,001,0002,273,280
6Oct 1, 2022 14:545,64142,091,64416,047,0002,005,0002,269,184
7Oct 1, 2022 14:545,64740,008,87517,067,0001,003,0002,277,376
8Oct 1, 2022 14:545,65035,369,56516,071,0002,008,0002,277,376
9Oct 1, 2022 14:545,68344,836,02817,174,0001,010,0002,277,376
10Oct 1, 2022 14:545,902103,369,49918,887,89702,293,760
11Oct 1, 2022 14:545,90984,643,40418,908,01902,183,168
12Oct 1, 2022 14:545,94087,063,37719,007,16702,297,856