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 18, 2021 14:16Yuriy LyfenkoYuriy LyfenkoScore: 5,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 14:165,2382,068,566,80612,818,0003,944,0002,260,992
2May 18, 2021 14:165,255448,667,97815,826,000989,0002,265,088
3May 18, 2021 14:165,2551,329,724,90116,817,00002,523,136
4May 18, 2021 14:165,257622,601,45013,854,0002,968,0002,523,136
5May 18, 2021 14:165,278170,851,40115,952,000938,0002,265,088
6May 18, 2021 14:165,2872,012,870,25315,922,000995,0002,523,136
7May 18, 2021 14:165,2881,271,558,88414,931,0001,990,0002,523,136
8May 18, 2021 14:165,3081,436,627,14716,043,000943,0002,523,136
9May 18, 2021 14:165,3131,973,665,99416,058,000944,0002,523,136
10May 18, 2021 14:165,9511,532,304,54319,043,77702,281,472
11May 18, 2021 14:165,9712,454,171,55419,106,34502,281,472
12May 18, 2021 14:165,995658,842,95819,185,45102,285,568