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 09:32BenBenScore: 4,653Success
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 09:324,60835,185,16213,692,0001,053,0002,265,088
2Jul 28, 2024 09:324,60933,648,47814,748,00002,375,680
3Jul 28, 2024 09:324,64330,902,52712,878,0001,981,0002,265,088
4Jul 28, 2024 09:324,64431,531,08412,879,0001,981,0002,383,872
5Jul 28, 2024 09:324,65145,065,75413,890,000992,0002,387,968
6Jul 28, 2024 09:324,65139,337,52613,890,000992,0002,265,088
7Jul 28, 2024 09:324,65331,811,48512,904,0001,985,0002,265,088
8Jul 28, 2024 09:324,65743,848,89413,908,000993,0002,502,656
9Jul 28, 2024 09:324,66329,285,55013,928,000994,0002,387,968
10Jul 28, 2024 09:324,85580,792,71415,536,79202,281,472
11Jul 28, 2024 09:324,86386,956,52415,561,62002,281,472
12Jul 28, 2024 09:324,89469,670,32715,661,80102,289,664