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:22Ulyanov AlekseyUlyanov AlekseyScore: 5,705Success
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:225,67242,778,46517,143,0001,008,0002,289,664
2Jun 19, 2023 21:225,67935,455,13917,163,0001,009,0002,289,664
3Jun 19, 2023 21:225,68842,378,72216,181,0002,022,0002,289,664
4Jun 19, 2023 21:225,69039,820,13816,186,0002,023,0002,273,280
5Jun 19, 2023 21:225,69450,208,80016,198,0002,024,0002,289,664
6Jun 19, 2023 21:225,70443,711,53517,240,0001,014,0002,277,376
7Jun 19, 2023 21:225,70541,559,24116,229,0002,028,0002,289,664
8Jun 19, 2023 21:225,70846,164,17916,238,0002,029,0002,289,664
9Jun 19, 2023 21:225,73348,500,88416,306,0002,038,0002,277,376
10Jun 19, 2023 21:225,90276,833,07218,885,19202,293,760
11Jun 19, 2023 21:225,90881,731,76518,904,06902,293,760
12Jun 19, 2023 21:225,94592,332,83919,024,69802,301,952