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 listJan 2, 2023 16:48Jack FrigaardJack FrigaardScore: 4,878Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:484,81633,312,44614,384,0001,027,0002,285,568
2Jan 2, 2023 16:484,82733,337,68313,388,0002,059,0002,285,568
3Jan 2, 2023 16:484,85134,816,27615,523,00002,531,328
4Jan 2, 2023 16:484,85336,509,47614,496,0001,035,0002,285,568
5Jan 2, 2023 16:484,85933,017,16214,512,0001,036,0002,273,280
6Jan 2, 2023 16:484,87032,937,41715,583,00002,285,568
7Jan 2, 2023 16:484,87840,377,45314,569,0001,040,0002,285,568
8Jan 2, 2023 16:484,88144,609,93814,577,0001,041,0002,527,232
9Jan 2, 2023 16:484,88245,194,76314,581,0001,041,0002,285,568
10Jan 2, 2023 16:485,09185,584,97216,291,09102,301,952
11Jan 2, 2023 16:485,09960,073,73616,316,76402,179,072
12Jan 2, 2023 16:485,10977,437,57916,350,20602,306,048