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 14, 2021 20:51alex3dalex3dScore: 4,801Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 20:514,7531,040,010,64112,167,0003,041,0002,260,992
2May 14, 2021 20:514,7601,036,522,84714,218,0001,015,0002,523,136
3May 14, 2021 20:514,7631,042,864,37112,193,0003,048,0002,519,040
4May 14, 2021 20:514,7641,037,342,81114,230,0001,016,0002,519,040
5May 14, 2021 20:514,7801,042,466,58414,276,0001,019,0002,519,040
6May 14, 2021 20:514,7921,036,605,71214,312,0001,022,0002,519,040
7May 14, 2021 20:514,8011,041,876,56514,340,0001,024,0002,387,968
8May 14, 2021 20:514,8051,036,601,47515,376,00002,519,040
9May 14, 2021 20:514,8071,039,669,79214,356,0001,025,0002,519,040
10May 14, 2021 20:514,9801,083,286,81615,936,00602,281,472
11May 14, 2021 20:514,9921,070,818,17715,975,65902,273,280
12May 14, 2021 20:515,0051,077,586,02516,017,44302,281,472