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 11:37BenBenScore: 4,543Success
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 11:374,52431,533,12013,444,0001,034,0002,527,232
2Jul 30, 2024 11:374,52833,961,00114,491,00002,379,776
3Jul 30, 2024 11:374,53136,182,33914,498,00002,379,776
4Jul 30, 2024 11:374,53631,513,35513,480,0001,036,0002,265,088
5Jul 30, 2024 11:374,53927,967,62313,487,0001,037,0002,367,488
6Jul 30, 2024 11:374,54036,371,61213,492,0001,037,0002,371,584
7Jul 30, 2024 11:374,54334,113,65214,539,00002,265,088
8Jul 30, 2024 11:374,54531,605,18114,545,00002,523,136
9Jul 30, 2024 11:374,54935,476,80214,558,00002,375,680
10Jul 30, 2024 11:374,81165,755,58415,396,77602,281,472
11Jul 30, 2024 11:374,82988,285,21115,453,78902,269,184
12Jul 30, 2024 11:374,94862,544,69115,835,15002,273,280