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 15:06Yuriy LyfenkoYuriy LyfenkoScore: 5,333Success
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 15:065,28441,124,14315,854,0001,056,0002,527,232
2May 23, 2021 15:065,29944,442,11614,962,0001,994,0002,265,088
3May 23, 2021 15:065,29945,090,98215,960,000997,0002,265,088
4May 23, 2021 15:065,30132,990,78015,965,000997,0002,400,256
5May 23, 2021 15:065,30845,173,29614,987,0001,998,0002,265,088
6May 23, 2021 15:065,30842,389,24015,988,000999,0002,404,352
7May 23, 2021 15:065,33343,974,99016,062,0001,003,0002,265,088
8May 23, 2021 15:065,33542,688,95415,064,0002,008,0002,396,160
9May 23, 2021 15:065,34743,251,91216,103,0001,006,0002,392,064
10May 23, 2021 15:065,51873,374,17017,658,48602,277,376
11May 23, 2021 15:065,54982,482,89617,755,47802,281,472
12May 23, 2021 15:065,55882,372,71217,784,39102,273,280