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 25, 2021 03:16Yuriy LyfenkoYuriy LyfenkoScore: 5,129Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 03:165,05635,938,52414,157,0002,022,0002,265,088
2May 25, 2021 03:165,06847,573,38314,191,0002,027,0002,265,088
3May 25, 2021 03:165,07345,586,29415,221,0001,014,0002,396,160
4May 25, 2021 03:165,07833,646,28515,236,0001,015,0002,396,160
5May 25, 2021 03:165,09245,637,80414,257,0002,036,0002,392,064
6May 25, 2021 03:165,10633,318,96015,317,0001,021,0002,265,088
7May 25, 2021 03:165,12932,665,53015,389,0001,025,0002,392,064
8May 25, 2021 03:165,14254,994,56515,426,0001,028,0002,265,088
9May 25, 2021 03:165,14536,096,00015,436,0001,029,0002,265,088
10May 25, 2021 03:165,29079,699,49716,928,68902,281,472
11May 25, 2021 03:165,32447,988,05817,037,22602,273,280
12May 25, 2021 03:165,33448,056,56817,068,45302,273,280