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 24, 2022 11:03Robert BurkeRobert BurkeScore: 4,483Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 11:034,45626,778,23512,222,0002,037,0002,281,472
2Jul 24, 2022 11:034,46141,168,02913,257,0001,019,0002,453,504
3Jul 24, 2022 11:034,47337,894,28713,292,0001,022,0002,281,472
4Jul 24, 2022 11:034,47730,428,07113,303,0001,023,0002,445,312
5Jul 24, 2022 11:034,48235,181,77213,317,0001,024,0002,281,472
6Jul 24, 2022 11:034,48233,133,08913,318,0001,024,0002,281,472
7Jul 24, 2022 11:034,48336,466,85713,321,0001,024,0002,281,472
8Jul 24, 2022 11:034,49528,237,44713,358,0001,027,0002,281,472
9Jul 24, 2022 11:034,50830,749,86814,426,00002,449,408
10Jul 24, 2022 11:034,70197,619,18415,042,96802,207,744
11Jul 24, 2022 11:034,70395,462,06515,048,27902,211,840
12Jul 24, 2022 11:034,74491,849,10415,179,48902,207,744