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 8, 2023 16:27Andrew MoonAndrew MoonScore: 5,410Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 16:275,38344,306,84415,201,0002,026,0002,289,664
2Jul 8, 2023 16:275,38938,869,04615,217,0002,029,0002,277,376
3Jul 8, 2023 16:275,39438,329,72315,232,0002,030,0002,289,664
4Jul 8, 2023 16:275,40439,470,85316,276,0001,017,0002,289,664
5Jul 8, 2023 16:275,40532,908,02415,261,0002,034,0002,269,184
6Jul 8, 2023 16:275,40736,412,62315,268,0002,035,0002,289,664
7Jul 8, 2023 16:275,41042,556,11615,277,0002,036,0002,289,664
8Jul 8, 2023 16:275,43540,337,33016,370,0001,023,0002,265,088
9Jul 8, 2023 16:275,43941,533,48216,383,0001,023,0002,289,664
10Jul 8, 2023 16:275,57980,198,17417,853,49802,297,856
11Jul 8, 2023 16:275,58657,479,82117,876,46002,301,952
12Jul 8, 2023 16:275,64786,380,95518,070,13502,297,856