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 14:36Dmitry DolgopolovDmitry DolgopolovScore: 5,532Success
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 14:365,48039,467,20016,506,0001,031,0002,269,184
2May 24, 2021 14:365,48539,811,08617,553,00002,265,088
3May 24, 2021 14:365,48839,449,78516,528,0001,033,0002,265,088
4May 24, 2021 14:365,50949,365,61917,630,00002,392,064
5May 24, 2021 14:365,52046,204,45716,624,0001,039,0002,260,992
6May 24, 2021 14:365,52242,676,77616,631,0001,039,0002,482,176
7May 24, 2021 14:365,53243,502,16316,660,0001,041,0002,265,088
8May 24, 2021 14:365,53843,765,50016,681,0001,042,0002,396,160
9May 24, 2021 14:365,58746,430,39415,892,0001,986,0002,265,088
10May 24, 2021 14:365,71977,101,60118,300,42802,285,568
11May 24, 2021 14:365,76778,203,02118,453,28402,281,472
12May 24, 2021 14:365,79782,796,43618,551,66502,281,472