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 17, 2021 15:14Yuriy LyfenkoYuriy LyfenkoScore: 5,486Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 15:145,438876,070,68015,228,0002,175,0002,269,184
2May 17, 2021 15:145,4561,394,560,05015,405,0002,054,0002,265,088
3May 17, 2021 15:145,4634,507,328,38816,510,000971,0002,265,088
4May 17, 2021 15:145,4645,432,131,38516,319,0001,165,0002,527,232
5May 17, 2021 15:145,4645,360,135,22515,542,0001,942,0002,265,088
6May 17, 2021 15:145,4691,752,963,04216,529,000972,0002,527,232
7May 17, 2021 15:145,4864,664,968,93516,579,000975,0002,527,232
8May 17, 2021 15:145,5044,697,878,72717,613,00002,269,184
9May 17, 2021 15:145,506970,723,20715,766,0001,854,0002,265,088
10May 17, 2021 15:145,8302,517,747,77018,655,91502,277,376
11May 17, 2021 15:145,8351,847,216,02118,671,29102,281,472
12May 17, 2021 15:145,8592,815,283,15818,749,19002,277,376