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:45джулисджулисScore: 5,362Success
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:455,33145,536,05515,053,0002,007,0002,293,760
2Jun 9, 2024 21:455,34443,179,94315,089,0002,011,0002,375,680
3Jun 9, 2024 21:455,34741,294,57817,111,00002,293,760
4Jun 9, 2024 21:455,34838,997,75316,107,0001,006,0002,367,488
5Jun 9, 2024 21:455,35543,256,67916,129,0001,008,0002,293,760
6Jun 9, 2024 21:455,35637,130,15315,122,0002,016,0002,293,760
7Jun 9, 2024 21:455,36234,398,64116,150,0001,009,0002,375,680
8Jun 9, 2024 21:455,38537,749,32315,206,0002,027,0002,293,760
9Jun 9, 2024 21:455,39037,655,49115,219,0002,029,0002,367,488
10Jun 9, 2024 21:455,54684,644,66517,746,07102,260,992
11Jun 9, 2024 21:455,57674,154,63317,843,71002,252,800
12Jun 9, 2024 21:455,59166,995,83917,890,40602,248,704