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 12, 2023 13:17Andrew MoonAndrew MoonScore: 5,331Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 12, 2023 13:175,30541,184,67614,979,0001,997,0002,265,088
2Jul 12, 2023 13:175,30539,848,18115,979,000998,0002,392,064
3Jul 12, 2023 13:175,31347,021,49215,001,0002,000,0002,387,968
4Jul 12, 2023 13:175,32245,019,10116,029,0001,001,0002,502,656
5Jul 12, 2023 13:175,32835,647,55315,043,0002,005,0002,396,160
6Jul 12, 2023 13:175,32947,094,80416,051,0001,003,0002,265,088
7Jul 12, 2023 13:175,33143,990,53016,055,0001,003,0002,265,088
8Jul 12, 2023 13:175,34934,652,16416,110,0001,006,0002,265,088
9Jul 12, 2023 13:175,34948,686,76016,111,0001,006,0002,383,872
10Jul 12, 2023 13:175,49292,811,04017,572,95102,244,608
11Jul 12, 2023 13:175,52097,778,91017,665,35602,277,376
12Jul 12, 2023 13:175,54581,849,62917,743,48502,289,664