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 30, 2024 03:12BenBenScore: 5,473Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:125,44446,876,08916,398,0001,024,0002,265,088
2Jul 30, 2024 03:125,46339,263,14717,480,00002,375,680
3Jul 30, 2024 03:125,46339,422,58916,453,0001,028,0002,265,088
4Jul 30, 2024 03:125,46535,733,34117,487,00002,265,088
5Jul 30, 2024 03:125,46838,924,35816,468,0001,029,0002,265,088
6Jul 30, 2024 03:125,46834,352,81916,469,0001,029,0002,265,088
7Jul 30, 2024 03:125,47337,445,38716,482,0001,030,0002,506,752
8Jul 30, 2024 03:125,47439,802,20117,516,00002,265,088
9Jul 30, 2024 03:125,48839,549,99117,560,00002,506,752
10Jul 30, 2024 03:125,67378,513,97318,154,65402,273,280
11Jul 30, 2024 03:125,67666,413,61018,162,88102,285,568
12Jul 30, 2024 03:125,68377,212,67518,187,10502,293,760