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 25, 2021 15:55Yuriy LyfenkoYuriy LyfenkoScore: 5,797Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:555,71840,490,68716,264,0002,033,0002,265,088
2May 25, 2021 15:555,73952,487,81017,344,0001,020,0002,265,088
3May 25, 2021 15:555,74345,026,79617,356,0001,020,0002,265,088
4May 25, 2021 15:555,74539,753,73917,364,0001,021,0002,404,352
5May 25, 2021 15:555,76034,979,08618,433,00002,265,088
6May 25, 2021 15:555,77141,193,99317,442,0001,026,0002,387,968
7May 25, 2021 15:555,79740,145,87817,519,0001,030,0002,265,088
8May 25, 2021 15:555,80744,360,19518,583,00002,396,160
9May 25, 2021 15:555,80739,454,75118,583,00002,392,064
10May 25, 2021 15:555,84756,005,86018,709,42102,281,472
11May 25, 2021 15:555,885102,857,48518,833,38602,277,376
12May 25, 2021 15:555,92075,623,20118,945,53202,281,472