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:35Robert BurkeRobert BurkeScore: 4,552Success
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:354,52129,942,27113,434,0001,033,0002,281,472
2Jul 24, 2022 11:354,52135,355,69413,435,0001,033,0002,281,472
3Jul 24, 2022 11:354,52534,146,34813,446,0001,034,0002,445,312
4Jul 24, 2022 11:354,53239,740,26513,466,0001,035,0002,281,472
5Jul 24, 2022 11:354,53829,030,81513,485,0001,037,0002,281,472
6Jul 24, 2022 11:354,54034,071,83513,491,0001,037,0002,281,472
7Jul 24, 2022 11:354,55233,683,26513,527,0001,040,0002,281,472
8Jul 24, 2022 11:354,58136,457,30513,613,0001,047,0002,281,472
9Jul 24, 2022 11:354,58239,770,17614,661,00002,281,472
10Jul 24, 2022 11:354,77385,232,61615,273,15402,203,648
11Jul 24, 2022 11:354,81493,170,05815,403,70102,199,552
12Jul 24, 2022 11:354,82976,521,13915,451,76102,207,744