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 listApr 13, 2024 19:30Brian WardBrian WardScore: 5,720Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2024 19:305,65841,707,10317,099,0001,005,0002,355,200
2Apr 13, 2024 16:265,67342,645,04916,136,0002,017,0002,289,664
3Apr 13, 2024 16:265,68538,880,13717,183,0001,010,0002,498,560
4Apr 13, 2024 19:305,69042,678,89217,196,0001,011,0002,359,296
5Apr 13, 2024 19:305,69332,719,42616,195,0002,024,0002,285,568
6Apr 13, 2024 16:265,69342,248,13417,204,0001,012,0002,289,664
7Apr 13, 2024 16:265,69545,867,83617,211,0001,012,0002,289,664
8Apr 13, 2024 16:265,70037,680,62817,226,0001,013,0002,289,664
9Apr 13, 2024 19:305,70943,269,34116,240,0002,030,0002,289,664
10Apr 13, 2024 16:265,70942,656,08817,254,0001,014,0002,363,392
11Apr 13, 2024 19:305,71340,783,29816,252,0002,031,0002,289,664
12Apr 13, 2024 19:305,71942,158,35218,300,00002,498,560
13Apr 13, 2024 19:305,72041,177,39616,271,0002,033,0002,351,104
14Apr 13, 2024 16:265,72448,568,49918,318,00002,367,488
15Apr 13, 2024 19:305,72548,378,50216,286,0002,035,0002,359,296
16Apr 13, 2024 16:265,73338,499,59717,325,0001,019,0002,359,296
17Apr 13, 2024 16:265,74134,118,90517,352,0001,020,0002,351,104
18Apr 13, 2024 19:305,74747,267,40718,389,00002,289,664
19Apr 13, 2024 19:305,88391,903,77918,824,55702,236,416
20Apr 13, 2024 16:265,885103,286,98618,830,94102,228,224
21Apr 13, 2024 16:265,88680,037,26018,836,65802,228,224
22Apr 13, 2024 19:305,91099,164,47018,911,44102,228,224
23Apr 13, 2024 19:305,91484,588,76618,923,22102,224,128
24Apr 13, 2024 16:265,95291,873,29219,045,01002,228,224