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 listJul 25, 2021 14:55Adam FolwarcznyAdam FolwarcznyScore: 5,529Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2021 14:555,47934,795,14416,501,0001,031,0002,387,968
2Jul 25, 2021 14:555,50642,225,60117,618,00002,387,968
3Jul 25, 2021 14:555,51646,118,38316,613,0001,038,0002,265,088
4Jul 25, 2021 14:555,51833,678,23217,657,00002,265,088
5Jul 25, 2021 14:555,52047,029,12817,663,00002,265,088
6Jul 25, 2021 14:555,52834,418,42916,651,0001,040,0002,498,560
7Jul 25, 2021 14:555,52935,763,23117,693,00002,265,088
8Jul 25, 2021 14:555,53546,061,18216,670,0001,041,0002,265,088
9Jul 25, 2021 14:555,53544,981,29017,712,00002,392,064
10Jul 25, 2021 14:555,54076,571,81017,728,74302,281,472
11Jul 25, 2021 14:555,54275,317,87117,735,43602,285,568
12Jul 25, 2021 14:555,56784,215,78517,814,33002,285,568