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 listNov 1, 2021 14:52Ilya AniskovetsIlya AniskovetsScore: 5,638Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 14:535,57845,274,41115,865,0001,983,0002,277,376
2Nov 1, 2021 14:525,58248,628,95915,877,0001,984,0002,289,664
3Nov 1, 2021 14:535,58440,375,53415,884,0001,985,0002,289,664
4Nov 1, 2021 14:525,58745,675,86516,886,000993,0002,289,664
5Nov 1, 2021 14:535,60240,213,07815,935,0001,991,0002,289,664
6Nov 1, 2021 14:535,60332,844,80615,937,0001,992,0002,383,872
7Nov 1, 2021 14:535,60641,359,71715,947,0001,993,0002,273,280
8Nov 1, 2021 14:535,61547,267,99415,973,0001,996,0002,293,760
9Nov 1, 2021 14:525,61642,460,04115,975,0001,996,0002,289,664
10Nov 1, 2021 14:525,61644,545,72916,972,000998,0002,289,664
11Nov 1, 2021 14:525,61742,981,49015,976,0001,997,0002,289,664
12Nov 1, 2021 14:525,62041,964,14815,986,0001,998,0002,273,280
13Nov 1, 2021 14:525,63840,566,96616,037,0002,004,0002,289,664
14Nov 1, 2021 14:525,64236,136,07716,049,0002,006,0002,277,376
15Nov 1, 2021 14:535,64545,595,48016,058,0002,007,0002,277,376
16Nov 1, 2021 14:535,65543,815,35416,085,0002,010,0002,289,664
17Nov 1, 2021 14:525,66543,490,36416,113,0002,014,0002,289,664
18Nov 1, 2021 14:535,67142,586,43217,138,0001,008,0002,289,664
19Nov 1, 2021 14:525,72478,836,11518,316,35902,179,072
20Nov 1, 2021 14:535,73480,504,26318,347,57902,252,800
21Nov 1, 2021 14:535,75585,599,54318,414,59002,306,048
22Nov 1, 2021 14:525,75684,005,46918,418,84602,306,048
23Nov 1, 2021 14:525,75884,489,70918,424,73502,183,168
24Nov 1, 2021 14:535,763108,581,90718,442,98202,297,856