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 28, 2024 13:27BenBenScore: 4,746Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 13:274,71442,531,75613,073,0002,011,0002,519,040
2Jul 28, 2024 13:274,71937,219,31213,089,0002,013,0002,387,968
3Jul 28, 2024 13:274,72534,250,17613,105,0002,016,0002,379,776
4Jul 28, 2024 13:274,72834,669,08213,113,0002,017,0002,379,776
5Jul 28, 2024 13:274,73336,056,72712,116,0003,029,0002,379,776
6Jul 28, 2024 13:274,73832,449,62914,150,0001,010,0002,502,656
7Jul 28, 2024 13:274,74629,536,70514,176,0001,012,0002,375,680
8Jul 28, 2024 13:274,75444,019,42614,199,0001,014,0002,375,680
9Jul 28, 2024 13:274,93336,676,24515,784,00002,371,584
10Jul 28, 2024 13:275,37689,520,55517,203,23102,293,760
11Jul 28, 2024 13:275,37887,873,99117,209,45402,281,472
12Jul 28, 2024 13:275,41071,590,64817,312,34402,285,568