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 17:39Jack FrigaardJack FrigaardScore: 5,347Success
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 17:395,31842,244,72315,017,0002,002,0002,285,568
2Jan 2, 2023 17:395,32832,841,08915,044,0002,005,0002,269,184
3Jan 2, 2023 17:395,33543,851,38415,065,0002,008,0002,375,680
4Jan 2, 2023 17:395,33844,009,43915,072,0002,009,0002,285,568
5Jan 2, 2023 17:395,33840,175,44415,073,0002,009,0002,285,568
6Jan 2, 2023 17:395,34341,351,48415,085,0002,011,0002,269,184
7Jan 2, 2023 17:395,34740,554,93715,098,0002,013,0002,523,136
8Jan 2, 2023 17:395,36143,378,60816,146,0001,009,0002,285,568
9Jan 2, 2023 17:395,37044,317,03215,163,0002,021,0002,281,472
10Jan 2, 2023 17:395,534115,832,90217,708,23502,297,856
11Jan 2, 2023 17:395,544100,360,16517,739,79902,293,760
12Jan 2, 2023 17:395,57176,366,91317,827,74902,306,048