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 16, 2022 13:39Franek KortaFranek KortaScore: 5,709Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2022 14:295,68390,578,89318,185,05502,297,856
2Jul 16, 2022 14:295,68491,360,43118,189,48302,301,952
3Jul 16, 2022 14:305,68882,524,47218,201,01502,297,856
4Jul 16, 2022 14:305,69880,665,99318,234,27002,289,664
5Jul 16, 2022 14:295,70071,666,12618,238,85002,297,856
6Jul 16, 2022 14:295,70893,857,81518,264,09902,301,952
7Jul 16, 2022 14:295,70958,044,50418,268,23902,293,760
8Jul 16, 2022 14:295,72087,370,31218,303,64002,297,856
9Jul 16, 2022 14:305,72086,539,18318,303,19402,301,952
10Jul 16, 2022 13:395,72684,036,05618,322,03102,297,856
11Jul 16, 2022 13:395,738115,719,81118,360,68402,297,856
12Jul 16, 2022 13:395,74289,683,94218,373,14602,285,568