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 listDec 30, 2022 19:32Hal FHal FScore: 5,918Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2022 19:325,89345,560,27115,880,0002,977,0002,277,376
2Dec 30, 2022 19:325,89545,502,93517,873,000992,0002,277,376
3Dec 30, 2022 19:325,89644,810,76217,874,000993,0002,265,088
4Dec 30, 2022 19:325,89850,702,62917,882,000993,0002,277,376
5Dec 30, 2022 19:325,90044,962,25816,894,0001,987,0002,281,472
6Dec 30, 2022 19:325,90146,344,35917,889,000993,0002,269,184
7Dec 30, 2022 19:325,91842,242,50516,944,0001,993,0002,281,472
8Dec 30, 2022 19:325,92546,486,33115,967,0002,993,0002,265,088
9Dec 30, 2022 19:325,92641,455,61817,964,000998,0002,269,184
10Dec 30, 2022 19:326,114106,852,70519,564,52402,293,760
11Dec 30, 2022 19:326,14388,535,72919,658,12202,174,976
12Dec 30, 2022 19:326,17995,108,49219,773,24502,293,760