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 19, 2023 21:31Ulyanov AlekseyUlyanov AlekseyScore: 5,678Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:315,66245,650,28716,105,0002,013,0002,289,664
2Jun 19, 2023 21:315,66738,447,17817,128,0001,007,0002,289,664
3Jun 19, 2023 21:315,66839,543,62017,132,0001,007,0002,277,376
4Jun 19, 2023 21:315,66940,897,82316,127,0002,015,0002,289,664
5Jun 19, 2023 21:315,67237,099,91516,134,0002,016,0002,289,664
6Jun 19, 2023 21:315,67543,661,29617,152,0001,008,0002,281,472
7Jun 19, 2023 21:315,67833,271,00316,151,0002,018,0002,383,872
8Jun 19, 2023 21:315,68146,662,12216,159,0002,019,0002,273,280
9Jun 19, 2023 21:315,69645,751,01517,215,0001,012,0002,277,376
10Jun 19, 2023 21:315,79662,704,72418,547,00502,301,952
11Jun 19, 2023 21:315,88286,962,11518,823,31302,301,952
12Jun 19, 2023 21:315,89779,109,39018,871,68102,301,952