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 14:28Yuriy LyfenkoYuriy LyfenkoScore: 5,053Success
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 14:285,01439,507,56414,040,0002,005,0002,383,872
2May 30, 2021 14:285,01848,442,27214,050,0002,007,0002,265,088
3May 30, 2021 14:285,02537,026,00814,071,0002,010,0002,265,088
4May 30, 2021 14:285,03249,586,39015,097,0001,006,0002,387,968
5May 30, 2021 14:285,03843,105,88514,106,0002,015,0002,383,872
6May 30, 2021 14:285,04442,626,72415,134,0001,008,0002,265,088
7May 30, 2021 14:285,05335,343,27214,150,0002,021,0002,527,232
8May 30, 2021 14:285,05437,468,58315,164,0001,010,0002,387,968
9May 30, 2021 14:285,06832,865,21415,206,0001,013,0002,265,088
10May 30, 2021 14:285,21382,687,82216,681,71402,269,184
11May 30, 2021 14:285,22972,172,06816,732,62902,269,184
12May 30, 2021 14:285,24882,201,25916,793,40102,277,376