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 18:49Yuriy LyfenkoYuriy LyfenkoScore: 5,148Success
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 18:495,10829,961,34116,344,00002,383,872
2May 23, 2021 18:495,11333,182,23816,361,00002,396,160
3May 23, 2021 18:495,12036,734,15516,385,00002,265,088
4May 23, 2021 18:495,12245,023,02116,391,00002,269,184
5May 23, 2021 18:495,13538,919,51116,433,00002,392,064
6May 23, 2021 18:495,14239,798,59015,427,0001,028,0002,265,088
7May 23, 2021 18:495,14836,857,63415,445,0001,029,0002,265,088
8May 23, 2021 18:495,15531,946,82715,466,0001,031,0002,392,064
9May 23, 2021 18:495,16839,449,03215,504,0001,033,0002,383,872
10May 23, 2021 18:495,35874,386,14517,145,34402,277,376
11May 23, 2021 18:495,38283,572,35417,223,30402,273,280
12May 23, 2021 18:495,39084,782,48117,246,68702,273,280