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 23, 2021 18:50Yuriy LyfenkoYuriy LyfenkoScore: 5,135Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 18:505,08633,198,70615,257,0001,017,0002,265,088
2May 23, 2021 18:505,08741,593,90915,261,0001,017,0002,265,088
3May 23, 2021 18:505,09638,449,25614,269,0002,038,0002,265,088
4May 23, 2021 18:505,11039,615,50316,352,00002,387,968
5May 23, 2021 18:505,11433,175,21015,342,0001,022,0002,265,088
6May 23, 2021 18:505,11633,294,68916,372,00002,506,752
7May 23, 2021 18:505,13539,289,40916,432,00002,265,088
8May 23, 2021 18:505,14232,315,06216,453,00002,265,088
9May 23, 2021 18:505,15145,007,30216,484,00002,392,064
10May 23, 2021 18:505,29666,643,99616,946,13002,277,376
11May 23, 2021 18:505,32796,489,65717,045,82102,277,376
12May 23, 2021 18:505,34676,299,92617,108,12502,273,280