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 listJul 21, 2023 16:31gchebanovgchebanovScore: 5,212Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2023 16:315,16143,685,41115,484,0001,032,0002,285,568
2Jul 21, 2023 16:315,16637,358,09415,499,0001,033,0002,400,256
3Jul 21, 2023 16:315,16937,982,24315,507,0001,033,0002,396,160
4Jul 21, 2023 16:315,18136,027,21416,579,00002,404,352
5Jul 21, 2023 16:315,19349,839,18115,580,0001,038,0002,285,568
6Jul 21, 2023 16:315,20841,186,10416,665,00002,400,256
7Jul 21, 2023 16:315,21244,654,07716,679,00002,285,568
8Jul 21, 2023 16:315,21644,913,09715,648,0001,043,0002,285,568
9Jul 21, 2023 16:315,21833,381,10815,655,0001,043,0002,285,568
10Jul 21, 2023 16:315,35194,829,45317,122,34002,297,856
11Jul 21, 2023 16:315,36690,302,98017,172,05602,285,568
12Jul 21, 2023 16:315,39094,507,36117,248,46502,174,976