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 25, 2021 22:38Egor SergeevEgor SergeevScore: 5,470Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 22:385,44348,939,99216,395,0001,024,0002,273,280
2May 25, 2021 22:385,44738,840,50317,430,00002,277,376
3May 25, 2021 22:385,45739,448,06116,435,0001,027,0002,273,280
4May 25, 2021 22:385,46337,535,95316,454,0001,028,0002,289,664
5May 25, 2021 22:385,46738,417,10416,465,0001,029,0002,387,968
6May 25, 2021 22:385,46740,975,22316,465,0001,029,0002,277,376
7May 25, 2021 22:385,47042,255,44416,475,0001,029,0002,281,472
8May 25, 2021 22:385,47237,517,83816,480,0001,030,0002,392,064
9May 25, 2021 22:385,47338,394,69816,483,0001,030,0002,289,664
10May 25, 2021 22:385,65047,759,96718,079,37602,301,952
11May 25, 2021 22:385,65763,449,72618,103,69802,293,760
12May 25, 2021 22:385,73164,037,44818,338,65302,174,976