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 27, 2021 19:49Yuriy LyfenkoYuriy LyfenkoScore: 5,413Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:495,36236,773,77216,149,0001,009,0002,527,232
2May 27, 2021 19:495,36544,245,80916,158,0001,009,0002,269,184
3May 27, 2021 19:495,37146,684,89616,177,0001,011,0002,392,064
4May 27, 2021 19:495,38036,875,89516,203,0001,012,0002,396,160
5May 27, 2021 19:495,39845,296,03316,257,0001,016,0002,396,160
6May 27, 2021 19:495,40841,205,54017,306,00002,392,064
7May 27, 2021 19:495,41342,193,47516,304,0001,019,0002,265,088
8May 27, 2021 19:495,45741,810,52516,436,0001,027,0002,400,256
9May 27, 2021 19:495,46336,390,06916,452,0001,028,0002,265,088
10May 27, 2021 19:495,51271,835,31317,639,42902,281,472
11May 27, 2021 19:495,51848,265,37417,657,22502,281,472
12May 27, 2021 19:495,54292,535,81217,733,04502,281,472