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 19, 2023 05:32Kenneth MaplesKenneth MaplesScore: 5,219Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2023 05:325,20041,455,79915,601,0001,040,0002,265,088
2Dec 19, 2023 05:325,20644,382,72716,659,00002,527,232
3Dec 19, 2023 05:325,20842,667,27915,625,0001,041,0002,265,088
4Dec 19, 2023 05:325,20933,945,70716,670,00002,265,088
5Dec 19, 2023 05:325,21831,886,13915,653,0001,043,0002,510,848
6Dec 19, 2023 05:325,21842,549,54916,699,00002,265,088
7Dec 19, 2023 05:325,21943,253,80315,657,0001,043,0002,387,968
8Dec 19, 2023 05:325,22646,025,38816,722,00002,265,088
9Dec 19, 2023 05:325,22835,657,44016,729,00002,392,064
10Dec 19, 2023 05:325,41674,508,51117,330,98002,273,280
11Dec 19, 2023 05:325,43976,377,48617,405,74102,260,992
12Dec 19, 2023 05:325,44264,385,02717,414,40002,265,088