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:35BenBenScore: 4,644Success
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:354,58335,590,32213,620,0001,047,0002,265,088
2Jul 28, 2024 08:354,58439,232,89113,622,0001,047,0002,383,872
3Jul 28, 2024 08:354,59234,120,03313,645,0001,049,0002,265,088
4Jul 28, 2024 08:354,59341,043,86914,698,00002,383,872
5Jul 28, 2024 08:354,59533,036,78713,654,0001,050,0002,265,088
6Jul 28, 2024 08:354,60132,281,81113,671,0001,051,0002,265,088
7Jul 28, 2024 08:354,64442,200,14913,872,000990,0002,265,088
8Jul 28, 2024 08:354,64933,251,68613,887,000991,0002,265,088
9Jul 28, 2024 08:354,65247,850,79914,886,00002,265,088
10Jul 28, 2024 08:354,85690,571,32215,539,28902,285,568
11Jul 28, 2024 08:354,85987,395,47315,547,57802,273,280
12Jul 28, 2024 08:354,87569,323,87215,598,67902,273,280