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 22:04Yuriy LyfenkoYuriy LyfenkoScore: 5,608Success
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 22:045,58446,814,83116,876,000992,0002,523,136
2May 11, 2021 22:045,58547,423,57217,872,00002,383,872
3May 11, 2021 22:045,58740,392,59515,893,0001,986,0002,265,088
4May 11, 2021 22:045,58933,332,95015,897,0001,987,0002,523,136
5May 11, 2021 22:045,58933,537,16916,893,000993,0002,396,160
6May 11, 2021 22:045,59151,882,43416,897,000993,0002,265,088
7May 11, 2021 22:045,59446,023,38515,912,0001,989,0002,265,088
8May 11, 2021 22:045,59541,643,48515,914,0001,989,0002,523,136
9May 11, 2021 22:045,59547,520,68215,914,0001,989,0002,523,136
10May 11, 2021 22:045,59738,888,31315,921,0001,990,0002,392,064
11May 11, 2021 22:045,59841,478,33216,918,000995,0002,519,040
12May 11, 2021 22:045,59843,879,81915,923,0001,990,0002,523,136
13May 11, 2021 22:045,60843,228,31816,949,000997,0002,383,872
14May 11, 2021 22:045,60945,795,03015,954,0001,994,0002,265,088
15May 11, 2021 22:045,61246,435,00415,963,0001,995,0002,523,136
16May 11, 2021 22:045,61833,482,58116,979,000998,0002,523,136
17May 11, 2021 22:045,61850,596,07815,981,0001,997,0002,265,088
18May 11, 2021 22:045,63144,787,91016,018,0002,002,0002,523,136
19May 11, 2021 22:045,76074,767,88118,431,49402,277,376
20May 11, 2021 22:045,76482,899,49818,445,68502,265,088
21May 11, 2021 22:045,76963,152,72718,461,49702,273,280
22May 11, 2021 22:045,77782,976,75018,485,01102,265,088
23May 11, 2021 22:045,78382,378,78018,504,72302,281,472
24May 11, 2021 22:045,78666,936,83318,513,60702,277,376