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 13, 2021 22:21Yuriy LyfenkoYuriy LyfenkoScore: 5,660Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 22:215,63244,048,53017,021,0001,001,0002,392,064
2May 13, 2021 22:215,63644,631,16615,029,0003,005,0002,265,088
3May 13, 2021 22:215,64642,355,53917,065,0001,003,0002,387,968
4May 13, 2021 22:215,65145,618,23916,073,0002,009,0002,392,064
5May 13, 2021 22:215,65246,615,67915,073,0003,014,0002,260,992
6May 13, 2021 22:215,65947,978,71515,092,0003,018,0002,396,160
7May 13, 2021 22:215,66048,258,85016,099,0002,012,0002,260,992
8May 13, 2021 22:215,67342,554,88616,138,0002,017,0002,523,136
9May 13, 2021 22:215,67740,019,48115,139,0003,027,0002,396,160
10May 13, 2021 22:215,85681,747,48018,738,47102,273,280
11May 13, 2021 22:215,88696,477,03218,835,40002,285,568
12May 13, 2021 22:216,09398,469,00819,497,38302,277,376