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:28Yuriy LyfenkoYuriy LyfenkoScore: 5,457Success
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:285,42236,723,04216,330,0001,020,0002,519,040
2May 16, 2021 13:285,43751,684,94617,398,00002,519,040
3May 16, 2021 13:285,43839,789,77417,400,00002,387,968
4May 16, 2021 13:285,44445,787,19316,398,0001,024,0002,519,040
5May 16, 2021 13:285,44844,739,09716,407,0001,025,0002,519,040
6May 16, 2021 13:285,45134,068,91516,418,0001,026,0002,392,064
7May 16, 2021 13:285,45743,236,84616,435,0001,027,0002,396,160
8May 16, 2021 13:285,47944,871,81216,501,0001,031,0002,392,064
9May 16, 2021 13:285,49746,093,70817,591,00002,519,040
10May 16, 2021 13:286,15583,820,58519,695,80102,281,472
11May 16, 2021 13:286,22989,939,26619,933,13602,269,184
12May 16, 2021 13:286,24482,204,86019,980,30102,289,664