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 20:56джулисджулисScore: 5,724Success
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 20:565,69244,069,40117,202,0001,011,0002,293,760
2Jun 9, 2024 20:565,69740,727,39117,217,0001,012,0002,293,760
3Jun 9, 2024 20:565,71343,042,77416,252,0002,031,0002,293,760
4Jun 9, 2024 20:565,71541,408,16916,257,0002,032,0002,293,760
5Jun 9, 2024 20:565,72243,662,19516,276,0002,034,0002,371,584
6Jun 9, 2024 20:565,72339,086,25816,278,0002,034,0002,367,488
7Jun 9, 2024 20:565,72442,574,78117,300,0001,017,0002,293,760
8Jun 9, 2024 20:565,74435,435,34018,381,00002,379,776
9Jun 9, 2024 20:565,76040,925,75018,431,00002,371,584
10Jun 9, 2024 20:565,95791,224,35319,061,13702,265,088
11Jun 9, 2024 20:565,965100,742,35319,088,77402,252,800
12Jun 9, 2024 20:566,02294,242,08219,270,34102,248,704