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 22, 2021 23:22Vladimir KuryakovVladimir KuryakovScore: 5,536Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 23:225,49738,776,71816,555,0001,034,0002,519,040
2May 22, 2021 23:225,50033,172,78216,564,0001,035,0002,519,040
3May 22, 2021 23:225,50246,431,59016,571,0001,035,0002,519,040
4May 22, 2021 23:225,50548,407,18715,543,0002,072,0002,519,040
5May 22, 2021 23:225,50850,084,51317,625,00002,387,968
6May 22, 2021 23:225,51844,118,45516,618,0001,038,0002,519,040
7May 22, 2021 23:225,52945,528,61416,653,0001,040,0002,379,776
8May 22, 2021 23:225,53648,604,00517,715,00002,519,040
9May 22, 2021 23:225,53943,853,91415,641,0002,085,0002,379,776
10May 22, 2021 23:225,83884,356,15418,682,64302,281,472
11May 22, 2021 23:225,84184,884,37818,692,48502,281,472
12May 22, 2021 23:225,85463,744,97318,733,00002,281,472
13May 22, 2021 23:225,85779,299,89418,742,01802,281,472
14May 22, 2021 23:225,86292,491,78518,759,79202,285,568
15May 22, 2021 23:225,88782,058,95218,837,06102,277,376