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 listAug 24, 2024 18:01Charlie ShepherdCharlie ShepherdScore: 5,390Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 24, 2024 18:015,34638,591,59016,101,0001,006,0002,367,488
2Aug 24, 2024 18:015,35641,156,69116,131,0001,008,0002,367,488
3Aug 24, 2024 18:015,36538,062,68316,158,0001,009,0002,293,760
4Aug 24, 2024 18:015,37440,411,38116,185,0001,011,0002,293,760
5Aug 24, 2024 18:015,37538,085,86415,176,0002,023,0002,293,760
6Aug 24, 2024 18:015,38239,225,26416,210,0001,013,0002,293,760
7Aug 24, 2024 18:015,39040,145,40816,235,0001,014,0002,367,488
8Aug 24, 2024 18:015,39938,412,38215,244,0002,032,0002,371,584
9Aug 24, 2024 18:015,41439,927,62216,307,0001,019,0002,371,584
10Aug 24, 2024 18:015,654115,917,86318,091,56002,371,584
11Aug 24, 2024 18:015,66093,477,98518,110,68102,240,512
12Aug 24, 2024 18:015,67187,974,73918,148,38302,244,608