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 listAug 7, 2021 21:47Mikhail ShirokovMikhail ShirokovScore: 5,749Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2021 21:475,67834,454,53016,152,0002,019,0002,260,992
2Aug 7, 2021 21:475,69844,535,30517,220,0001,012,0002,396,160
3Aug 7, 2021 21:475,70737,032,54617,249,0001,014,0002,519,040
4Aug 7, 2021 21:475,71342,886,51216,249,0002,031,0002,379,776
5Aug 7, 2021 21:475,71436,354,58617,271,0001,015,0002,519,040
6Aug 7, 2021 21:475,71438,888,14916,253,0002,031,0002,519,040
7Aug 7, 2021 21:475,71650,547,49116,259,0002,032,0002,519,040
8Aug 7, 2021 21:475,72339,532,31817,298,0001,017,0002,392,064
9Aug 7, 2021 21:475,73143,450,98017,322,0001,018,0002,519,040
10Aug 7, 2021 21:475,73138,819,33617,322,0001,018,0002,392,064
11Aug 7, 2021 21:475,73839,292,65616,321,0002,040,0002,396,160
12Aug 7, 2021 21:475,73838,363,00216,320,0002,040,0002,519,040
13Aug 7, 2021 21:475,74938,157,08217,376,0001,022,0002,387,968
14Aug 7, 2021 21:475,75636,935,45018,418,00002,392,064
15Aug 7, 2021 21:475,76044,975,64316,384,0002,048,0002,387,968
16Aug 7, 2021 21:475,76442,803,56618,444,00002,392,064
17Aug 7, 2021 21:475,76538,541,84518,448,00002,510,848
18Aug 7, 2021 21:475,76541,706,44518,448,00002,519,040
19Aug 7, 2021 21:475,93589,085,45318,992,81802,285,568
20Aug 7, 2021 21:475,94682,390,58619,025,85702,289,664
21Aug 7, 2021 21:475,94999,760,24819,036,90102,281,472
22Aug 7, 2021 21:475,969102,688,52219,099,42102,277,376
23Aug 7, 2021 21:475,98184,905,50719,138,20202,281,472
24Aug 7, 2021 21:475,99276,229,56919,174,95202,277,376