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 22:53Yuriy LyfenkoYuriy LyfenkoScore: 5,570Success
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 22:535,5232,210,702,91315,594,0002,079,0002,519,040
2May 16, 2021 22:535,5294,372,112,61415,727,0001,965,0002,260,992
3May 16, 2021 22:535,5352,502,861,10216,729,000984,0002,523,136
4May 16, 2021 22:535,536723,375,00016,731,000984,0002,523,136
5May 16, 2021 22:535,5473,761,770,07317,749,00002,260,992
6May 16, 2021 22:535,547698,980,51515,778,0001,972,0002,523,136
7May 16, 2021 22:535,5703,969,248,89216,834,000990,0002,523,136
8May 16, 2021 22:535,5821,968,309,38615,879,0001,984,0002,469,888
9May 16, 2021 22:535,5834,365,164,21316,875,000992,0002,519,040
10May 16, 2021 22:535,8863,531,170,73018,834,23302,277,376
11May 16, 2021 22:535,8981,564,143,21918,874,98302,281,472
12May 16, 2021 22:535,9354,023,529,79718,991,66902,285,568