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:14Robert BurkeRobert BurkeScore: 4,782Success
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:144,74734,833,24014,177,0001,012,0002,273,280
2Jul 22, 2022 22:144,74834,803,66614,182,0001,013,0002,433,024
3Jul 22, 2022 22:144,76232,612,35914,223,0001,015,0002,273,280
4Jul 22, 2022 22:144,76941,340,63613,226,0002,034,0002,273,280
5Jul 22, 2022 22:144,77729,252,79814,267,0001,019,0002,514,944
6Jul 22, 2022 22:144,77938,202,72414,275,0001,019,0002,273,280
7Jul 22, 2022 22:144,78234,926,10814,281,0001,020,0002,433,024
8Jul 22, 2022 22:144,78531,441,90113,270,0002,041,0002,273,280
9Jul 22, 2022 22:144,79937,610,71515,357,00002,535,424
10Jul 22, 2022 22:144,92585,782,17315,759,59802,179,072
11Jul 22, 2022 22:144,93891,533,15615,800,49902,179,072
12Jul 22, 2022 22:144,95168,932,22015,842,99602,179,072