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 listJun 19, 2023 22:14Ulyanov AlekseyUlyanov AlekseyScore: 5,542Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 22:145,46541,532,68616,461,0001,028,0002,277,376
2Jun 19, 2023 22:145,48444,356,17516,518,0001,032,0002,289,664
3Jun 19, 2023 22:145,48547,203,82017,552,00002,277,376
4Jun 19, 2023 22:145,51047,446,88816,596,0001,037,0002,289,664
5Jun 19, 2023 22:145,52449,134,98116,638,0001,039,0002,269,184
6Jun 19, 2023 22:145,53338,801,37516,664,0001,041,0002,289,664
7Jun 19, 2023 22:145,54244,310,06116,748,000985,0002,289,664
8Jun 19, 2023 22:145,57945,233,55615,870,0001,983,0002,359,296
9Jun 19, 2023 22:145,58046,249,18216,865,000992,0002,273,280
10Jun 19, 2023 22:145,66796,787,22818,135,18102,297,856
11Jun 19, 2023 22:145,68489,399,81118,188,63602,174,976
12Jun 19, 2023 22:145,69089,564,29718,207,89802,174,976