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 16, 2021 13:00Yuriy LyfenkoYuriy LyfenkoScore: 5,676Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:005,63847,650,70416,039,0002,004,0002,265,088
2May 16, 2021 13:005,63945,627,18616,040,0002,005,0002,527,232
3May 16, 2021 13:005,64848,039,71518,073,00002,265,088
4May 16, 2021 13:005,65847,864,76018,106,00002,265,088
5May 16, 2021 13:005,66034,760,03717,105,0001,006,0002,265,088
6May 16, 2021 13:005,66247,474,86517,111,0001,006,0002,392,064
7May 16, 2021 13:005,67650,539,25317,154,0001,009,0002,265,088
8May 16, 2021 13:005,67752,259,63217,156,0001,009,0002,265,088
9May 16, 2021 13:005,68350,613,94118,184,00002,387,968
10May 16, 2021 13:006,08083,276,87019,454,41502,281,472
11May 16, 2021 13:006,10393,629,44019,529,51802,273,280
12May 16, 2021 13:006,12986,748,25219,612,10102,277,376