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 listFeb 24, 2023 21:27Andranik ChakiryanAndranik ChakiryanScore: 5,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 21:275,52848,068,62616,649,0001,040,0002,347,008
2Feb 24, 2023 21:275,58230,807,40315,878,0001,984,0002,338,816
3Feb 24, 2023 21:275,58346,037,36015,881,0001,985,0002,342,912
4Feb 24, 2023 21:275,58442,474,49217,868,00002,478,080
5Feb 24, 2023 21:275,58648,254,97314,895,0002,979,0002,342,912
6Feb 24, 2023 21:275,58746,354,00316,884,000993,0002,355,200
7Feb 24, 2023 21:275,58933,852,74315,898,0001,987,0002,347,008
8Feb 24, 2023 21:275,58945,768,84215,899,0001,987,0002,359,296
9Feb 24, 2023 21:275,62442,050,33916,999,000999,0002,338,816
10Feb 24, 2023 21:275,70488,820,80918,252,48702,183,168
11Feb 24, 2023 21:275,71486,641,58618,286,11302,183,168
12Feb 24, 2023 21:275,74182,401,61218,370,57502,183,168