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 listFeb 12, 2023 22:38LiamLiamScore: 5,831Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 12, 2023 22:385,80745,728,43918,582,00002,273,280
2Feb 12, 2023 22:385,82150,843,88216,557,0002,069,0002,281,472
3Feb 12, 2023 22:385,82451,114,33817,602,0001,035,0002,277,376
4Feb 12, 2023 22:385,82445,677,12718,638,00002,281,472
5Feb 12, 2023 22:385,82544,462,77616,569,0002,071,0002,400,256
6Feb 12, 2023 22:385,83046,464,87216,583,0002,072,0002,281,472
7Feb 12, 2023 22:385,83146,663,48617,622,0001,036,0002,277,376
8Feb 12, 2023 22:385,83547,239,14016,598,0002,074,0002,281,472
9Feb 12, 2023 22:385,84552,590,12517,666,0001,039,0002,281,472
10Feb 12, 2023 22:385,99484,033,40219,181,35402,191,360
11Feb 12, 2023 22:386,01599,986,36719,249,02602,301,952
12Feb 12, 2023 22:386,051104,435,55719,363,76402,179,072