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 listMay 17, 2023 00:40Martin StensgårdMartin StensgårdScore: 5,474Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2023 00:405,41543,952,52216,309,0001,019,0002,375,680
2May 17, 2023 00:405,42240,874,21017,350,00002,375,680
3May 17, 2023 00:405,42839,871,71817,371,00002,260,992
4May 17, 2023 00:405,43039,871,36517,376,00002,371,584
5May 17, 2023 00:405,45444,196,82217,453,00002,269,184
6May 17, 2023 00:405,45844,692,82617,466,00002,269,184
7May 17, 2023 00:405,47440,171,74917,516,00002,375,680
8May 17, 2023 00:405,47735,171,61117,526,00002,269,184
9May 17, 2023 00:405,47833,821,45916,498,0001,031,0002,363,392
10May 17, 2023 00:405,61882,684,67917,978,27602,260,992
11May 17, 2023 00:405,63681,793,09618,034,59302,260,992
12May 17, 2023 00:405,64896,126,48018,074,72202,260,992