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:28Yuriy LyfenkoYuriy LyfenkoScore: 5,466Success
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:285,41742,987,61416,315,0001,019,0002,519,040
2May 16, 2021 13:285,42441,613,08616,336,0001,021,0002,519,040
3May 16, 2021 13:285,43835,140,60317,402,00002,519,040
4May 16, 2021 13:285,44939,905,76416,411,0001,025,0002,383,872
5May 16, 2021 13:285,45945,431,02217,470,00002,519,040
6May 16, 2021 13:285,46240,189,60217,477,00002,523,136
7May 16, 2021 13:285,46638,326,76317,491,00002,519,040
8May 16, 2021 13:285,47636,946,45716,494,0001,030,0002,506,752
9May 16, 2021 13:285,48647,528,01115,490,0002,065,0002,519,040
10May 16, 2021 13:285,69895,520,05918,234,61502,285,568
11May 16, 2021 13:285,69984,202,72318,237,47702,285,568
12May 16, 2021 13:285,71274,759,94318,276,83202,293,760