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 19:33Yuriy LyfenkoYuriy LyfenkoScore: 5,590Success
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 19:335,58243,020,24217,861,00002,387,968
2May 11, 2021 19:335,58443,736,67316,878,000992,0002,519,040
3May 11, 2021 19:335,58443,218,87016,877,000992,0002,519,040
4May 11, 2021 19:335,58541,730,46515,771,0002,102,0002,265,088
5May 11, 2021 19:335,58643,061,38513,904,0003,972,0002,519,040
6May 11, 2021 19:335,58647,039,68916,882,000993,0002,502,656
7May 11, 2021 19:335,58638,899,88515,888,0001,986,0002,387,968
8May 11, 2021 19:335,58645,767,74616,882,000993,0002,392,064
9May 11, 2021 19:335,58743,223,77817,878,00002,519,040
10May 11, 2021 19:335,58846,662,91915,896,0001,987,0002,392,064
11May 11, 2021 19:335,58846,068,40714,903,0002,980,0002,387,968
12May 11, 2021 19:335,58944,840,70516,891,000993,0002,392,064
13May 11, 2021 19:335,59038,803,48114,908,0002,981,0002,392,064
14May 11, 2021 19:335,59141,159,64315,903,0001,987,0002,519,040
15May 11, 2021 19:335,59145,255,95315,904,0001,988,0002,387,968
16May 11, 2021 19:335,59738,181,25817,909,00002,392,064
17May 11, 2021 19:335,59841,877,98616,859,0001,053,0002,519,040
18May 11, 2021 19:335,61447,807,74416,967,000998,0002,473,984
19May 11, 2021 19:335,79081,578,27018,528,18902,281,472
20May 11, 2021 19:335,80477,947,81418,572,68902,269,184
21May 11, 2021 19:335,80585,930,38718,575,98802,285,568
22May 11, 2021 19:335,83290,497,86218,663,92902,285,568
23May 11, 2021 19:335,83375,203,54418,664,20702,273,280
24May 11, 2021 19:335,83884,196,61018,682,39702,273,280