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 24, 2021 18:08Yuriy LyfenkoYuriy LyfenkoScore: 5,138Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:085,09732,381,47015,290,0001,019,0002,387,968
2May 24, 2021 18:085,09839,270,43516,312,00002,396,160
3May 24, 2021 18:085,09833,653,84715,293,0001,019,0002,387,968
4May 24, 2021 18:085,09936,305,44015,297,0001,019,0002,269,184
5May 24, 2021 18:085,11040,205,63316,352,00002,527,232
6May 24, 2021 18:085,13029,674,86416,416,00002,265,088
7May 24, 2021 18:085,13833,393,57415,416,0001,027,0002,392,064
8May 24, 2021 18:085,14142,270,41615,424,0001,028,0002,265,088
9May 24, 2021 18:085,14338,696,05815,429,0001,028,0002,265,088
10May 24, 2021 18:085,29171,864,45716,931,19502,273,280
11May 24, 2021 18:085,315107,762,90917,007,67702,281,472
12May 24, 2021 18:085,68251,752,28618,182,18102,281,472