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 15, 2024 17:02джулисджулисScore: 5,221Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 17:025,17439,377,53016,557,00002,375,680
2Jun 15, 2024 17:025,17534,671,09815,526,0001,035,0002,371,584
3Jun 15, 2024 17:025,18840,437,27216,603,00002,371,584
4Jun 15, 2024 17:025,19341,580,74415,579,0001,038,0002,293,760
5Jun 15, 2024 17:025,20449,443,84015,614,0001,040,0002,293,760
6Jun 15, 2024 17:025,20936,414,59515,629,0001,041,0002,293,760
7Jun 15, 2024 17:025,22147,925,83814,620,0002,088,0002,293,760
8Jun 15, 2024 17:025,27234,618,68814,885,0001,984,0002,367,488
9Jun 15, 2024 17:025,27440,897,55115,886,000992,0002,293,760
10Jun 15, 2024 17:025,42671,181,85517,364,37202,371,584
11Jun 15, 2024 17:025,44160,790,07417,410,65902,248,704
12Jun 15, 2024 17:025,46875,796,34317,496,85202,260,992