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 9, 2024 19:29джулисджулисScore: 5,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:295,31145,262,74915,997,000999,0002,293,760
2Jun 9, 2024 19:295,31833,266,20916,018,0001,001,0002,371,584
3Jun 9, 2024 19:295,32445,682,98516,035,0001,002,0002,293,760
4Jun 9, 2024 19:295,33043,813,10516,053,0001,003,0002,293,760
5Jun 9, 2024 19:295,33247,438,37215,055,0002,007,0002,367,488
6Jun 9, 2024 19:295,33343,712,73715,057,0002,007,0002,371,584
7Jun 9, 2024 19:295,34244,686,15516,088,0001,005,0002,478,080
8Jun 9, 2024 19:295,34643,767,43816,101,0001,006,0002,375,680
9Jun 9, 2024 19:295,35144,369,68915,108,0002,014,0002,473,984
10Jun 9, 2024 19:295,54985,404,72817,755,32602,256,896
11Jun 9, 2024 19:295,57164,065,43917,826,63802,248,704
12Jun 9, 2024 19:295,58081,999,42517,854,88602,265,088