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,864Success
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,81835,719,99614,390,0001,027,0002,285,568
2Jan 2, 2023 16:484,83632,615,21214,444,0001,031,0002,285,568
3Jan 2, 2023 16:484,83632,896,39413,412,0002,063,0002,273,280
4Jan 2, 2023 16:484,84035,881,83014,455,0001,032,0002,285,568
5Jan 2, 2023 16:484,84341,218,35914,465,0001,033,0002,285,568
6Jan 2, 2023 16:484,84936,450,82015,517,00002,269,184
7Jan 2, 2023 16:484,86438,538,68614,528,0001,037,0002,273,280
8Jan 2, 2023 16:484,87438,662,46814,557,0001,039,0002,527,232
9Jan 2, 2023 16:484,95044,874,93213,861,0001,980,0002,285,568
10Jan 2, 2023 16:485,09986,850,58816,316,91802,301,952
11Jan 2, 2023 16:485,11783,237,94016,375,83502,301,952
12Jan 2, 2023 16:485,12777,320,07416,405,42702,297,856