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 listMay 15, 2023 06:35AmirAmirScore: 5,759Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 06:355,70741,036,35016,234,0002,029,0002,277,376
2May 15, 2023 06:355,70945,990,88016,240,0002,030,0002,269,184
3May 15, 2023 06:355,72443,256,27116,281,0002,035,0002,289,664
4May 15, 2023 06:355,73946,853,94816,325,0002,040,0002,289,664
5May 15, 2023 06:355,74047,266,36217,347,0001,020,0002,289,664
6May 15, 2023 06:355,75436,067,11918,413,00002,289,664
7May 15, 2023 06:355,75938,617,40118,430,00002,289,664
8May 15, 2023 06:355,77734,813,69617,459,0001,027,0002,289,664
9May 15, 2023 06:355,82345,983,65117,599,0001,035,0002,289,664
10May 15, 2023 06:355,88986,355,75918,845,23302,293,760
11May 15, 2023 06:355,91098,880,68318,913,36602,289,664
12May 15, 2023 06:355,94293,399,19919,014,74002,293,760