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 15, 2021 22:11Yuriy LyfenkoYuriy LyfenkoScore: 5,473Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 22:115,42741,686,49116,344,0001,021,0002,387,968
2May 15, 2021 22:115,43740,710,83916,376,0001,023,0002,400,256
3May 15, 2021 22:115,45734,783,98016,434,0001,027,0002,260,992
4May 15, 2021 22:115,45839,908,25517,464,00002,392,064
5May 15, 2021 22:115,46243,310,55016,449,0001,028,0002,265,088
6May 15, 2021 22:115,46236,086,53415,422,0002,056,0002,387,968
7May 15, 2021 22:115,47341,717,27515,454,0002,060,0002,392,064
8May 15, 2021 22:115,48934,204,31416,533,0001,033,0002,523,136
9May 15, 2021 22:115,58237,426,53815,878,0001,984,0002,392,064
10May 15, 2021 22:115,68463,435,60518,187,34602,277,376
11May 15, 2021 22:115,70780,200,44518,261,35302,277,376
12May 15, 2021 22:115,71378,854,58618,280,31902,269,184