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 listJun 19, 2023 21:32Ulyanov AlekseyUlyanov AlekseyScore: 5,527Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:325,45945,890,27116,442,0001,027,0002,289,664
2Jun 19, 2023 21:325,46942,767,55316,471,0001,029,0002,289,664
3Jun 19, 2023 21:325,49749,819,13316,556,0001,034,0002,289,664
4Jun 19, 2023 21:325,50545,086,99417,617,00002,277,376
5Jun 19, 2023 21:325,51136,484,04416,597,0001,037,0002,281,472
6Jun 19, 2023 21:325,52146,435,35416,629,0001,039,0002,289,664
7Jun 19, 2023 21:325,52748,498,02016,646,0001,040,0002,527,232
8Jun 19, 2023 21:325,52946,781,08716,654,0001,040,0002,289,664
9Jun 19, 2023 21:325,58243,203,47916,870,000992,0002,289,664
10Jun 19, 2023 21:325,85080,957,23218,720,54102,179,072
11Jun 19, 2023 21:325,90986,435,93618,909,24302,301,952
12Jun 19, 2023 21:326,13591,949,72219,631,19202,289,664