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 19, 2024 10:15Matt StuchlikMatt StuchlikScore: 5,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:155,50746,462,76316,587,0001,036,0002,490,368
2Jul 19, 2024 10:155,51144,981,02916,598,0001,037,0002,490,368
3Jul 19, 2024 10:155,51739,568,13116,617,0001,038,0002,334,720
4Jul 19, 2024 10:155,52037,000,76516,626,0001,039,0002,494,464
5Jul 19, 2024 10:155,52845,521,64316,651,0001,040,0002,326,528
6Jul 19, 2024 10:155,53650,134,46716,672,0001,042,0002,494,464
7Jul 19, 2024 10:155,54051,539,77816,686,0001,042,0002,330,624
8Jul 19, 2024 10:155,57845,315,95515,867,0001,983,0002,326,528
9Jul 19, 2024 10:155,59046,363,35115,900,0001,987,0002,326,528
10Jul 19, 2024 10:155,77989,452,48018,494,00502,215,936
11Jul 19, 2024 10:155,79261,992,64818,534,67102,355,200
12Jul 19, 2024 10:155,83193,921,94418,660,39102,228,224