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 listApr 10, 2024 16:45emily graceemily graceScore: 5,466Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 16:455,41586,663,83717,328,53802,285,568
2Apr 10, 2024 16:465,43874,136,86117,402,44702,285,568
3Apr 10, 2024 16:465,44282,825,99817,414,71902,293,760
4Apr 10, 2024 16:455,44770,081,65417,431,30802,289,664
5Apr 10, 2024 16:455,45179,007,87917,443,64302,285,568
6Apr 10, 2024 16:465,46389,646,23117,482,98802,289,664
7Apr 10, 2024 16:465,46693,048,96117,492,42602,297,856
8Apr 10, 2024 16:465,48488,356,19217,548,21802,285,568
9Apr 10, 2024 16:465,49283,855,35317,573,16902,289,664
10Apr 10, 2024 16:465,50579,453,45017,616,58602,289,664
11Apr 10, 2024 16:465,51286,958,77617,637,29702,293,760
12Apr 10, 2024 16:465,51884,812,81617,656,77302,289,664