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 21, 2021 16:40Dmitry DolgopolovDmitry DolgopolovScore: 5,528Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 16:405,46546,087,90616,459,0001,028,0002,265,088
2May 21, 2021 16:405,47543,714,51616,490,0001,030,0002,506,752
3May 21, 2021 16:405,48440,206,60516,517,0001,032,0002,265,088
4May 21, 2021 16:405,48845,379,28416,530,0001,033,0002,387,968
5May 21, 2021 16:405,48943,516,57216,532,0001,033,0002,265,088
6May 21, 2021 16:405,50840,151,73316,589,0001,036,0002,392,064
7May 21, 2021 16:405,52244,008,18417,669,00002,387,968
8May 21, 2021 16:405,52851,974,26516,649,0001,040,0002,396,160
9May 21, 2021 16:405,52847,609,60217,691,00002,387,968
10May 21, 2021 16:405,73782,152,46518,358,32702,281,472
11May 21, 2021 16:405,74554,966,38218,384,39702,277,376
12May 21, 2021 16:405,74893,120,81518,394,42202,273,280
13May 21, 2021 16:405,78069,240,71618,495,06302,273,280
14May 21, 2021 16:405,78492,661,51518,508,67802,289,664
15May 21, 2021 16:405,78589,757,12018,512,05102,285,568