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 10, 2024 20:13Robert BlackwellRobert BlackwellScore: 5,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 20:135,53046,847,06016,656,0001,041,0002,265,088
2Apr 10, 2024 20:135,53636,675,45117,716,00002,265,088
3Apr 10, 2024 20:135,57745,132,86015,863,0001,982,0002,527,232
4Apr 10, 2024 20:135,58342,575,04915,882,0001,985,0002,265,088
5Apr 10, 2024 20:135,58446,744,24816,876,000992,0002,265,088
6Apr 10, 2024 20:135,58444,245,20916,877,000992,0002,400,256
7Apr 10, 2024 20:135,58545,214,63216,879,000992,0002,265,088
8Apr 10, 2024 20:135,58737,700,59815,892,0001,986,0002,392,064
9Apr 10, 2024 20:135,58739,697,67215,892,0001,986,0002,265,088
10Apr 10, 2024 20:135,71486,528,36518,286,14102,285,568
11Apr 10, 2024 20:135,72886,926,83918,328,93402,285,568
12Apr 10, 2024 20:135,81495,328,27618,604,61402,285,568