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 30, 2021 15:30Yuriy LyfenkoYuriy LyfenkoScore: 5,051Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 15:305,02833,101,75014,077,0002,011,0002,387,968
2May 30, 2021 15:305,02833,240,10214,078,0002,011,0002,510,848
3May 30, 2021 15:305,02840,842,02315,084,0001,005,0002,506,752
4May 30, 2021 15:305,03741,920,28614,103,0002,014,0002,265,088
5May 30, 2021 15:305,03936,640,95714,111,0002,015,0002,387,968
6May 30, 2021 15:305,04842,773,99614,136,0002,019,0002,400,256
7May 30, 2021 15:305,05147,359,24515,152,0001,010,0002,265,088
8May 30, 2021 15:305,05640,682,39715,169,0001,011,0002,396,160
9May 30, 2021 15:305,09838,895,44915,293,0001,019,0002,265,088
10May 30, 2021 15:305,237125,383,47816,757,73802,281,472
11May 30, 2021 15:305,24892,113,38316,792,62602,277,376
12May 30, 2021 15:305,24961,006,82616,797,28702,277,376