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 29, 2022 16:10Keichi TakahashiKeichi TakahashiScore: 5,339Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2022 16:105,28744,293,47214,928,0001,990,0002,396,160
2May 29, 2022 16:105,29540,285,54514,951,0001,993,0002,383,872
3May 29, 2022 16:105,31647,591,86116,010,0001,000,0002,387,968
4May 29, 2022 16:105,32634,117,87716,040,0001,002,0002,383,872
5May 29, 2022 16:105,33443,642,43215,061,0002,008,0002,265,088
6May 29, 2022 16:105,33540,752,86416,067,0001,004,0002,387,968
7May 29, 2022 16:105,33947,896,72315,075,0002,010,0002,396,160
8May 29, 2022 16:105,34043,207,89416,083,0001,005,0002,383,872
9May 29, 2022 16:105,34333,160,48015,087,0002,011,0002,265,088
10May 29, 2022 16:105,51388,719,27817,640,97202,289,664
11May 29, 2022 16:105,52991,338,01517,694,15602,281,472
12May 29, 2022 16:105,54474,677,41617,742,35802,281,472