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 listJan 22, 2024 09:01Alexander MonakovAlexander MonakovScore: 4,554Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:014,51541,196,53914,448,00002,277,376
2Jan 22, 2024 09:014,52326,573,99914,472,00002,277,376
3Jan 22, 2024 09:014,52328,486,43214,475,00002,535,424
4Jan 22, 2024 09:014,52732,799,94714,486,00002,502,656
5Jan 22, 2024 09:014,53433,724,06414,508,00002,277,376
6Jan 22, 2024 09:014,54230,520,65514,535,00002,277,376
7Jan 22, 2024 09:014,55429,992,37114,574,00002,277,376
8Jan 22, 2024 09:014,55634,479,58614,580,00002,277,376
9Jan 22, 2024 09:014,55831,541,84614,586,00002,277,376
10Jan 22, 2024 09:014,78184,681,00215,300,67002,244,608
11Jan 22, 2024 09:014,79185,192,24215,332,05602,244,608
12Jan 22, 2024 09:014,79577,009,46915,343,95902,236,416