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 24, 2021 17:33Yuriy LyfenkoYuriy LyfenkoScore: 5,398Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 17:335,35336,467,88716,121,0001,007,0002,265,088
2May 24, 2021 17:335,36045,897,77715,134,0002,017,0002,396,160
3May 24, 2021 17:335,36944,361,57816,172,0001,010,0002,265,088
4May 24, 2021 17:335,37541,476,59815,177,0002,023,0002,392,064
5May 24, 2021 17:335,38041,285,55716,205,0001,012,0002,265,088
6May 24, 2021 17:335,38043,472,45616,205,0001,012,0002,383,872
7May 24, 2021 17:335,39841,211,94416,256,0001,016,0002,392,064
8May 24, 2021 17:335,40042,736,79815,248,0002,033,0002,527,232
9May 24, 2021 17:335,40646,437,83015,264,0002,035,0002,392,064
10May 24, 2021 17:335,55977,653,36017,787,88102,269,184
11May 24, 2021 17:335,64475,346,53318,059,64402,281,472
12May 24, 2021 17:335,67751,545,41618,165,07502,277,376