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 11, 2021 19:32Yuriy LyfenkoYuriy LyfenkoScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:325,55638,306,32617,778,00002,400,256
2May 11, 2021 19:325,58543,058,74217,872,00002,519,040
3May 11, 2021 19:325,58545,090,20615,887,0001,985,0002,392,064
4May 11, 2021 19:325,58642,680,06015,890,0001,986,0002,387,968
5May 11, 2021 19:325,58744,926,21716,884,000993,0002,383,872
6May 11, 2021 19:325,58745,708,59816,885,000993,0002,379,776
7May 11, 2021 19:325,58834,628,02015,896,0001,987,0002,383,872
8May 11, 2021 19:325,58947,922,67715,898,0001,987,0002,392,064
9May 11, 2021 19:325,59745,166,58815,920,0001,990,0002,519,040
10May 11, 2021 19:325,78094,883,49718,496,81502,277,376
11May 11, 2021 19:325,83076,372,66218,656,86702,277,376
12May 11, 2021 19:325,83684,924,58218,676,40302,277,376