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 23, 2021 16:57Yuriy LyfenkoYuriy LyfenkoScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 16:575,27142,200,76814,883,0001,984,0002,265,088
2May 23, 2021 16:575,27144,642,31214,884,0001,984,0002,527,232
3May 23, 2021 16:575,27735,161,68115,894,000993,0002,392,064
4May 23, 2021 16:575,27744,915,77015,894,000993,0002,265,088
5May 23, 2021 16:575,27741,297,82914,901,0001,986,0002,387,968
6May 23, 2021 16:575,27845,631,16814,902,0001,986,0002,387,968
7May 23, 2021 16:575,27843,205,86414,904,0001,987,0002,396,160
8May 23, 2021 16:575,28244,428,08714,915,0001,988,0002,400,256
9May 23, 2021 16:575,29436,968,84315,944,000996,0002,387,968
10May 23, 2021 16:575,47474,867,58517,516,81502,281,472
11May 23, 2021 16:575,48983,101,43017,564,42902,273,280
12May 23, 2021 16:575,50076,854,86017,599,06002,277,376