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,200Success
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,17736,883,80215,531,0001,035,0002,383,872
2Jul 8, 2023 16:275,17933,206,65115,539,0001,035,0002,396,160
3Jul 8, 2023 16:275,18339,931,22916,586,00002,392,064
4Jul 8, 2023 16:275,18836,003,27615,565,0001,037,0002,265,088
5Jul 8, 2023 16:275,19136,572,95115,574,0001,038,0002,265,088
6Jul 8, 2023 16:275,19351,373,17716,616,00002,265,088
7Jul 8, 2023 16:275,20041,102,63215,601,0001,040,0002,260,992
8Jul 8, 2023 16:275,21738,054,49216,693,00002,269,184
9Jul 8, 2023 16:275,25645,271,21115,831,000989,0002,396,160
10Jul 8, 2023 16:275,41681,765,42717,331,89502,273,280
11Jul 8, 2023 16:275,41799,016,63917,333,26602,281,472
12Jul 8, 2023 16:275,42592,236,07217,360,41202,244,608