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 22, 2022 22:09Robert BurkeRobert BurkeScore: 4,796Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 22:094,75130,226,97414,189,0001,013,0002,428,928
2Jul 22, 2022 22:094,75337,083,62614,197,0001,014,0002,273,280
3Jul 22, 2022 22:094,76832,874,35414,239,0001,017,0002,437,120
4Jul 22, 2022 22:094,78131,516,37213,260,0002,040,0002,433,024
5Jul 22, 2022 22:094,78431,889,82713,269,0002,041,0002,535,424
6Jul 22, 2022 22:094,79530,180,92914,322,0001,023,0002,433,024
7Jul 22, 2022 22:094,79631,536,96413,302,0002,046,0002,437,120
8Jul 22, 2022 22:094,79738,947,86814,327,0001,023,0002,273,280
9Jul 22, 2022 22:094,82032,156,47215,425,00002,428,928
10Jul 22, 2022 22:094,93998,309,48615,804,47102,183,168
11Jul 22, 2022 22:094,93990,963,43215,805,96602,191,360
12Jul 22, 2022 22:094,96967,567,34515,902,23802,187,264