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 31, 2024 12:15BenBenScore: 4,675Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2024 12:154,64727,431,43414,871,00002,486,272
2Jul 31, 2024 12:154,65232,016,72213,895,000992,0002,269,184
3Jul 31, 2024 12:154,65941,336,98213,916,000994,0002,281,472
4Jul 31, 2024 12:154,66136,095,67414,916,00002,482,176
5Jul 31, 2024 12:154,67241,207,46913,954,000996,0002,269,184
6Jul 31, 2024 12:154,67431,730,44412,962,0001,994,0002,478,080
7Jul 31, 2024 12:154,67535,769,73813,962,000997,0002,269,184
8Jul 31, 2024 12:154,69534,337,93212,019,0003,004,0002,486,272
9Jul 31, 2024 12:154,72231,732,30113,095,0002,014,0002,531,328
10Jul 31, 2024 12:154,90096,079,50615,678,63802,256,896
11Jul 31, 2024 12:154,93964,071,56815,803,57502,260,992
12Jul 31, 2024 12:154,94479,433,85215,819,82002,260,992