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 listFeb 22, 2024 13:36Huy Duc LeHuy Duc LeScore: 4,681Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:364,64739,987,62913,880,000991,0002,265,088
2Feb 22, 2024 13:364,64848,728,78514,875,00002,527,232
3Feb 22, 2024 13:364,65234,459,59512,901,0001,984,0002,392,064
4Feb 22, 2024 13:364,66843,201,35013,942,000995,0002,502,656
5Feb 22, 2024 13:364,67232,415,76312,956,0001,993,0002,265,088
6Feb 22, 2024 13:364,67745,199,49712,971,0001,995,0002,392,064
7Feb 22, 2024 13:364,68140,385,52812,982,0001,997,0002,265,088
8Feb 22, 2024 13:364,68930,798,37814,006,0001,000,0002,265,088
9Feb 22, 2024 13:364,72243,586,21314,104,0001,007,0002,392,064
10Feb 22, 2024 13:364,91177,315,27215,713,68602,285,568
11Feb 22, 2024 13:364,91191,813,61315,714,45302,289,664
12Feb 22, 2024 13:364,92875,735,27315,770,24102,293,760