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 08:41BenBenScore: 4,562Success
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 08:414,52930,647,90914,494,00002,387,968
2Jul 28, 2024 08:414,53930,026,73414,524,00002,506,752
3Jul 28, 2024 08:414,54434,959,22613,504,0001,038,0002,265,088
4Jul 28, 2024 08:414,54630,336,97413,509,0001,039,0002,527,232
5Jul 28, 2024 08:414,55031,821,93914,559,00002,383,872
6Jul 28, 2024 08:414,55931,594,65514,590,00002,265,088
7Jul 28, 2024 08:414,56237,379,16813,557,0001,042,0002,265,088
8Jul 28, 2024 08:414,56644,245,68713,569,0001,043,0002,392,064
9Jul 28, 2024 08:414,72839,471,05213,114,0002,017,0002,379,776
10Jul 28, 2024 08:414,78584,474,89215,311,32602,285,568
11Jul 28, 2024 08:414,81468,564,64715,404,88302,281,472
12Jul 28, 2024 08:414,83087,097,37415,455,52002,285,568