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 15:36Andrew MoonAndrew MoonScore: 5,746Success
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 15:365,68145,180,15616,160,0002,020,0002,392,064
2Jul 8, 2023 15:365,70149,191,80316,217,0002,027,0002,396,160
3Jul 8, 2023 15:365,71243,421,12717,262,0001,015,0002,392,064
4Jul 8, 2023 15:365,71438,853,76016,253,0002,031,0002,387,968
5Jul 8, 2023 15:365,71835,221,79117,280,0001,016,0002,523,136
6Jul 8, 2023 15:365,72144,028,48017,290,0001,017,0002,265,088
7Jul 8, 2023 15:365,74639,306,27818,387,00002,265,088
8Jul 8, 2023 15:365,74845,199,01417,373,0001,021,0002,265,088
9Jul 8, 2023 15:365,75238,274,16017,383,0001,022,0002,523,136
10Jul 8, 2023 15:365,90090,551,66118,880,41502,277,376
11Jul 8, 2023 15:365,90291,296,81618,887,56502,281,472
12Jul 8, 2023 15:365,93661,048,43618,995,77202,285,568