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 listApr 16, 2025 16:03Christian BernardChristian BernardScore: 5,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2025 15:535,47940,815,61316,501,0001,031,0002,260,992
2Apr 16, 2025 15:535,49545,076,64216,550,0001,034,0002,392,064
3Apr 16, 2025 16:035,49844,193,96016,560,0001,035,0002,392,064
4Apr 16, 2025 15:535,49944,245,18216,561,0001,035,0002,523,136
5Apr 16, 2025 15:535,50146,131,10416,568,0001,035,0002,392,064
6Apr 16, 2025 15:535,50236,957,75517,607,00002,387,968
7Apr 16, 2025 15:535,50837,824,40716,588,0001,036,0002,379,776
8Apr 16, 2025 15:535,52040,149,39016,624,0001,039,0002,260,992
9Apr 16, 2025 15:535,52136,231,64916,628,0001,039,0002,260,992
10Apr 16, 2025 16:035,52136,472,51317,668,00002,486,272
11Apr 16, 2025 15:535,53847,132,51217,723,00002,523,136
12Apr 16, 2025 16:035,54049,795,84616,686,0001,042,0002,387,968