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 19:39Yuriy LyfenkoYuriy LyfenkoScore: 5,114Success
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 19:395,05238,332,99515,156,0001,010,0002,265,088
2May 24, 2021 19:395,06946,218,37414,194,0002,027,0002,265,088
3May 24, 2021 19:395,07439,566,44414,209,0002,029,0002,392,064
4May 24, 2021 19:395,08642,202,57514,242,0002,034,0002,392,064
5May 24, 2021 19:395,08832,315,77115,264,0001,017,0002,265,088
6May 24, 2021 19:395,09840,045,56715,296,0001,019,0002,387,968
7May 24, 2021 19:395,11436,142,55816,366,00002,392,064
8May 24, 2021 19:395,13133,415,39416,418,00002,506,752
9May 24, 2021 19:395,13333,387,13016,427,00002,392,064
10May 24, 2021 19:395,26680,839,66616,852,42702,273,280
11May 24, 2021 19:395,27551,961,28916,881,01702,281,472
12May 24, 2021 19:395,40140,126,63717,284,31202,285,568