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 3, 2023 21:24Hal FHal FScore: 4,671Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:244,64839,325,08913,883,000991,0002,289,664
2Jan 3, 2023 21:244,64947,501,83713,887,000991,0002,289,664
3Jan 3, 2023 21:244,65040,554,75313,888,000992,0002,289,664
4Jan 3, 2023 21:244,65135,970,87912,900,0001,984,0002,527,232
5Jan 3, 2023 21:244,65532,487,48813,904,000993,0002,285,568
6Jan 3, 2023 21:244,66938,180,82712,949,0001,992,0002,269,184
7Jan 3, 2023 21:244,67133,542,01013,951,000996,0002,277,376
8Jan 3, 2023 21:244,67335,246,65412,959,0001,993,0002,289,664
9Jan 3, 2023 21:244,67340,646,60312,961,0001,994,0002,289,664
10Jan 3, 2023 21:244,91697,326,61115,732,20402,297,856
11Jan 3, 2023 21:244,930100,465,27915,775,75102,260,992
12Jan 3, 2023 21:244,94660,433,14415,825,63802,289,664