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 27, 2021 18:25Yuriy LyfenkoYuriy LyfenkoScore: 5,074Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:255,01433,149,06214,040,0002,005,0002,396,160
2May 27, 2021 18:255,02336,521,44515,069,0001,004,0002,265,088
3May 27, 2021 18:255,02935,934,68414,081,0002,011,0002,392,064
4May 27, 2021 18:255,03435,383,82315,103,0001,006,0002,269,184
5May 27, 2021 18:255,04837,846,94314,135,0002,019,0002,392,064
6May 27, 2021 18:255,05644,953,87415,168,0001,011,0002,527,232
7May 27, 2021 18:255,07439,457,73814,209,0002,029,0002,265,088
8May 27, 2021 18:255,07945,600,62315,238,0001,015,0002,265,088
9May 27, 2021 18:255,09036,960,91015,270,0001,018,0002,265,088
10May 27, 2021 18:255,22844,268,44416,731,18102,281,472
11May 27, 2021 18:255,26085,723,05116,831,30502,281,472
12May 27, 2021 18:255,26543,873,11716,848,15902,281,472