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 8, 2024 19:45джулисджулисScore: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:455,52444,201,78716,639,0001,039,0002,375,680
2Jun 8, 2024 19:455,52837,956,49916,648,0001,040,0002,293,760
3Jun 8, 2024 19:455,53142,221,08817,698,00002,375,680
4Jun 8, 2024 19:455,53643,844,88416,673,0001,042,0002,371,584
5Jun 8, 2024 19:455,58144,355,58316,866,000992,0002,371,584
6Jun 8, 2024 19:455,58443,217,66716,877,000992,0002,293,760
7Jun 8, 2024 19:455,58446,138,83415,885,0001,985,0002,371,584
8Jun 8, 2024 19:455,58641,544,84816,883,000993,0002,371,584
9Jun 8, 2024 19:455,58750,582,61016,884,000993,0002,293,760
10Jun 8, 2024 19:455,75782,500,66818,422,87102,244,608
11Jun 8, 2024 19:455,77584,489,99718,479,86202,375,680
12Jun 8, 2024 19:455,78495,619,58918,507,99302,248,704