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 listJan 2, 2023 09:53Jack FrigaardJack FrigaardScore: 5,912Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 09:535,89045,126,15817,857,000992,0002,285,568
2Jan 2, 2023 09:535,90048,031,22916,894,0001,987,0002,269,184
3Jan 2, 2023 09:535,90644,538,90316,909,0001,989,0002,285,568
4Jan 2, 2023 09:535,90746,711,68316,913,0001,989,0002,269,184
5Jan 2, 2023 09:535,91048,338,87916,921,0001,990,0002,285,568
6Jan 2, 2023 09:535,91144,298,33116,924,0001,991,0002,273,280
7Jan 2, 2023 09:535,91240,525,36016,928,0001,991,0002,523,136
8Jan 2, 2023 09:535,92345,856,58616,960,0001,995,0002,285,568
9Jan 2, 2023 09:535,92547,428,63116,964,0001,995,0002,285,568
10Jan 2, 2023 09:536,107100,364,99519,541,61102,301,952
11Jan 2, 2023 09:536,14084,613,32019,649,54402,297,856
12Jan 2, 2023 09:536,14984,381,05019,678,01702,306,048