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 15, 2023 06:13AmirAmirScore: 5,783Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 06:135,73739,245,76116,319,0002,039,0002,273,280
2May 15, 2023 06:135,74439,019,48717,361,0001,021,0002,281,472
3May 15, 2023 06:135,76236,289,61417,413,0001,024,0002,269,184
4May 15, 2023 06:135,76647,815,98017,425,0001,025,0002,289,664
5May 15, 2023 06:135,76640,115,91516,401,0002,050,0002,359,296
6May 15, 2023 06:135,78142,804,64817,473,0001,027,0002,355,200
7May 15, 2023 06:135,78350,962,38017,479,0001,028,0002,273,280
8May 15, 2023 06:135,80541,133,11917,544,0001,032,0002,289,664
9May 15, 2023 06:135,81248,412,96118,599,00002,289,664
10May 15, 2023 06:136,08585,119,01219,471,62302,301,952
11May 15, 2023 06:136,11192,007,58519,555,71702,301,952
12May 15, 2023 06:136,13584,454,89419,630,40802,293,760