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 listJun 20, 2021 19:05Andrey TsvetkovAndrey TsvetkovScore: 5,738Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 19:055,69740,989,65417,219,0001,012,0002,326,528
2Jun 20, 2021 19:055,69839,477,34016,207,0002,025,0002,330,624
3Jun 20, 2021 19:055,69941,960,75916,211,0002,026,0002,334,720
4Jun 20, 2021 19:055,71041,166,82417,199,0001,074,0002,519,040
5Jun 20, 2021 19:055,71244,571,58917,204,0001,075,0002,334,720
6Jun 20, 2021 19:055,72345,442,67318,313,00002,322,432
7Jun 20, 2021 19:055,73843,428,72515,303,0003,060,0002,527,232
8Jun 20, 2021 19:055,74933,507,83617,374,0001,022,0002,334,720
9Jun 20, 2021 19:055,76243,268,72015,365,0003,073,0002,519,040
10Jun 20, 2021 19:055,87090,219,93218,783,49002,232,320
11Jun 20, 2021 19:055,91692,360,35118,931,64202,236,416
12Jun 20, 2021 19:055,94882,402,45219,032,94402,228,224