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 21:19джулисджулисScore: 5,336Success
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 21:195,29140,564,96215,935,000995,0002,293,760
2Jun 9, 2024 21:195,29548,952,02214,951,0001,993,0002,379,776
3Jun 9, 2024 21:195,29743,071,23015,954,000997,0002,367,488
4Jun 9, 2024 21:195,30443,598,64714,977,0001,996,0002,293,760
5Jun 9, 2024 21:195,31341,403,71916,003,0001,000,0002,293,760
6Jun 9, 2024 21:195,32539,802,66315,036,0002,004,0002,375,680
7Jun 9, 2024 21:195,33639,570,12216,070,0001,004,0002,367,488
8Jun 9, 2024 21:195,34234,007,03416,088,0001,005,0002,293,760
9Jun 9, 2024 21:195,34247,382,87015,084,0002,011,0002,293,760
10Jun 9, 2024 21:195,52495,796,14217,677,82502,240,512
11Jun 9, 2024 21:195,57364,913,29517,833,74302,252,800
12Jun 9, 2024 21:195,68291,480,03318,181,43602,248,704