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:03Yuriy LyfenkoYuriy LyfenkoScore: 5,626Success
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:035,58746,315,91215,891,0001,986,0002,519,040
2May 11, 2021 17:485,59045,863,03414,906,0002,981,0002,387,968
3May 11, 2021 18:035,59050,169,45015,900,0001,987,0002,519,040
4May 11, 2021 17:485,59243,462,80216,901,000994,0002,387,968
5May 11, 2021 17:485,59447,042,06714,917,0002,983,0002,392,064
6May 11, 2021 17:485,59843,336,66715,923,0001,990,0002,260,992
7May 11, 2021 17:485,60042,743,88315,928,0001,991,0002,506,752
8May 11, 2021 18:035,60444,457,84314,944,0002,988,0002,387,968
9May 11, 2021 18:035,60944,789,49515,954,0001,994,0002,519,040
10May 11, 2021 17:485,61345,743,67115,965,0001,995,0002,387,968
11May 11, 2021 17:485,62045,263,22615,987,0001,998,0002,519,040
12May 11, 2021 18:035,62150,280,03416,987,000999,0002,383,872
13May 11, 2021 18:035,62647,669,03017,002,0001,000,0002,519,040
14May 11, 2021 18:035,62650,825,67917,004,0001,000,0002,523,136
15May 11, 2021 18:035,63343,293,14817,024,0001,001,0002,519,040
16May 11, 2021 17:485,63452,584,72217,029,0001,001,0002,383,872
17May 11, 2021 18:035,63949,713,68614,036,0004,010,0002,519,040
18May 11, 2021 17:485,71044,052,29216,242,0002,030,0002,523,136
19May 11, 2021 17:485,81691,972,44818,612,77802,277,376
20May 11, 2021 18:035,81896,054,99818,616,48702,273,280
21May 11, 2021 18:035,82276,345,06118,631,41302,289,664
22May 11, 2021 17:485,82984,502,69718,652,34102,277,376
23May 11, 2021 17:485,85090,114,32718,721,38102,277,376
24May 11, 2021 18:035,85198,476,87418,723,43502,281,472