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 31, 2022 18:41Hal FHal FScore: 5,980Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2022 18:415,89849,695,67216,887,0001,986,0002,289,664
2Dec 31, 2022 18:415,91545,819,85817,931,000996,0002,527,232
3Dec 31, 2022 18:415,94442,836,39117,020,0002,002,0002,289,664
4Dec 31, 2022 18:415,95644,106,00618,055,0001,003,0002,269,184
5Dec 31, 2022 18:415,97242,105,42418,106,0001,005,0002,289,664
6Dec 31, 2022 18:415,97645,541,53517,110,0002,013,0002,289,664
7Dec 31, 2022 18:415,98043,540,42318,129,0001,007,0002,289,664
8Dec 31, 2022 18:415,98536,057,76519,152,00002,289,664
9Dec 31, 2022 18:415,99935,592,31918,188,0001,010,0002,289,664
10Dec 31, 2022 18:416,16997,469,10719,742,08402,301,952
11Dec 31, 2022 18:416,187101,456,86919,796,84002,293,760
12Dec 31, 2022 18:416,21979,090,11419,900,09202,297,856