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 listMay 11, 2021 18:39Yuriy LyfenkoYuriy LyfenkoScore: 5,764Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 18:445,71734,740,75817,277,0001,016,0002,519,040
2May 11, 2021 18:445,73340,999,58017,325,0001,019,0002,265,088
3May 11, 2021 18:395,73443,036,89017,329,0001,019,0002,396,160
4May 11, 2021 18:445,73544,521,55617,334,0001,019,0002,519,040
5May 11, 2021 18:395,73639,930,24616,315,0002,039,0002,260,992
6May 11, 2021 18:395,73741,693,51517,338,0001,019,0002,523,136
7May 11, 2021 18:395,73941,156,06418,365,00002,519,040
8May 11, 2021 18:445,74840,039,55616,350,0002,043,0002,383,872
9May 11, 2021 18:445,75143,745,02416,358,0002,044,0002,519,040
10May 11, 2021 18:445,75238,089,94517,384,0001,022,0002,519,040
11May 11, 2021 18:395,75942,185,52417,406,0001,023,0002,379,776
12May 11, 2021 18:395,76247,800,88417,414,0001,024,0002,523,136
13May 11, 2021 18:395,76446,222,61416,397,0002,049,0002,519,040
14May 11, 2021 18:395,76638,968,40118,452,00002,519,040
15May 11, 2021 18:445,76839,240,82317,433,0001,025,0002,392,064
16May 11, 2021 18:395,76845,313,74114,356,0004,101,0002,392,064
17May 11, 2021 18:445,76942,298,36216,410,0002,051,0002,519,040
18May 11, 2021 18:445,77340,035,62317,448,0001,026,0002,392,064
19May 11, 2021 18:445,95463,386,96419,051,84602,277,376
20May 11, 2021 18:395,98575,629,23219,151,07902,273,280
21May 11, 2021 18:445,99284,045,19419,175,41702,285,568
22May 11, 2021 18:395,99481,531,16119,180,34902,285,568
23May 11, 2021 18:445,99877,584,50019,193,05302,277,376
24May 11, 2021 18:396,05579,783,85919,374,78402,289,664