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:16BenBenScore: 4,583Success
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:164,55635,118,38213,537,0001,041,0002,527,232
2Jul 30, 2024 03:164,56842,139,25113,574,0001,044,0002,265,088
3Jul 30, 2024 03:164,57340,679,05813,588,0001,045,0002,265,088
4Jul 30, 2024 03:164,57730,454,94814,646,00002,527,232
5Jul 30, 2024 03:164,57737,224,55613,601,0001,046,0002,265,088
6Jul 30, 2024 03:164,58230,498,81413,616,0001,047,0002,265,088
7Jul 30, 2024 03:164,58331,209,03514,664,00002,379,776
8Jul 30, 2024 03:164,58843,475,56113,634,0001,048,0002,383,872
9Jul 30, 2024 03:164,58946,728,89114,686,00002,265,088
10Jul 30, 2024 03:164,82958,071,89915,453,03002,281,472
11Jul 30, 2024 03:164,85979,602,29415,548,58302,289,664
12Jul 30, 2024 03:164,86486,686,83715,563,98002,285,568