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 16, 2021 13:40Yuriy LyfenkoYuriy LyfenkoScore: 5,622Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:405,58735,377,91715,891,0001,986,0002,400,256
2May 16, 2021 13:405,59144,761,14815,904,0001,988,0002,519,040
3May 16, 2021 13:405,59243,879,50515,906,0001,988,0002,519,040
4May 16, 2021 13:405,59945,260,31114,931,0002,986,0002,519,040
5May 16, 2021 13:405,60848,655,42316,950,000997,0002,519,040
6May 16, 2021 13:405,61443,116,36916,968,000998,0002,383,872
7May 16, 2021 13:405,62245,144,11615,992,0001,999,0002,519,040
8May 16, 2021 13:405,63851,164,81517,039,0001,002,0002,519,040
9May 16, 2021 13:405,63945,775,86216,040,0002,005,0002,519,040
10May 16, 2021 13:405,76693,497,06118,451,07302,273,280
11May 16, 2021 13:405,79755,267,80718,550,67602,265,088
12May 16, 2021 13:405,81280,243,50118,597,45102,281,472