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 listJul 23, 2022 01:41Robert BurkeRobert BurkeScore: 4,593Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 01:414,57233,475,45513,586,0001,045,0002,449,408
2Jul 23, 2022 01:414,57329,343,85113,589,0001,045,0002,445,312
3Jul 23, 2022 01:414,58434,701,14013,623,0001,047,0002,285,568
4Jul 23, 2022 01:414,58637,596,13313,628,0001,048,0002,453,504
5Jul 23, 2022 01:414,58837,520,34713,634,0001,048,0002,281,472
6Jul 23, 2022 01:414,59134,150,03213,643,0001,049,0002,281,472
7Jul 23, 2022 01:414,59334,797,97913,648,0001,049,0002,281,472
8Jul 23, 2022 01:414,60531,477,71013,685,0001,052,0002,453,504
9Jul 23, 2022 01:414,65332,629,66413,896,000992,0002,453,504
10Jul 23, 2022 01:414,81188,960,30615,396,37902,203,648
11Jul 23, 2022 01:414,81373,675,38915,402,24102,207,744
12Jul 23, 2022 01:414,84161,802,42215,491,47602,195,456