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 15, 2021 19:26alex3dalex3dScore: 11,372Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 19:2611,263109,177,22536,040,41102,203,648
2May 15, 2021 19:2611,268106,878,51536,058,08302,203,648
3May 15, 2021 19:2611,33097,011,08136,256,36202,199,552
4May 15, 2021 19:2611,33696,717,93236,274,48902,199,552
5May 15, 2021 19:2611,34899,509,25936,315,06002,191,360
6May 15, 2021 19:2611,366106,493,31536,370,46902,203,648
7May 15, 2021 19:2611,372102,085,19236,391,85502,207,744
8May 15, 2021 19:2611,386112,755,70936,434,68702,203,648
9May 15, 2021 19:2611,41289,513,09836,519,27702,203,648
10May 15, 2021 19:2611,434110,107,47636,588,93902,207,744
11May 15, 2021 19:2611,440108,295,52236,608,92702,207,744
12May 15, 2021 19:2611,513103,947,66636,842,73902,191,360