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:44Yuriy 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,72239,463,18117,294,0001,017,0002,396,160
2May 11, 2021 18:395,72242,279,19818,310,00002,383,872
3May 11, 2021 18:395,72346,709,90616,278,0002,034,0002,519,040
4May 11, 2021 18:395,73550,901,18116,314,0002,039,0002,392,064
5May 11, 2021 18:395,73640,631,25417,337,0001,019,0002,519,040
6May 11, 2021 18:445,73640,633,48418,356,00002,387,968
7May 11, 2021 18:445,73940,733,71117,344,0001,020,0002,519,040
8May 11, 2021 18:395,74841,142,65215,329,0003,065,0002,519,040
9May 11, 2021 18:395,74939,034,55718,396,00002,510,848
10May 11, 2021 18:445,75841,045,71217,401,0001,023,0002,519,040
11May 11, 2021 18:445,76150,188,79717,411,0001,024,0002,519,040
12May 11, 2021 18:395,76437,476,49618,445,00002,506,752
13May 11, 2021 18:395,76435,379,25916,396,0002,049,0002,392,064
14May 11, 2021 18:445,76645,841,54316,402,0002,050,0002,387,968
15May 11, 2021 18:445,77244,361,75517,445,0001,026,0002,519,040
16May 11, 2021 18:445,77641,598,11118,482,00002,519,040
17May 11, 2021 18:445,78141,728,58216,444,0002,055,0002,519,040
18May 11, 2021 18:395,78345,835,44817,477,0001,028,0002,387,968
19May 11, 2021 18:395,97290,798,16119,110,28102,285,568
20May 11, 2021 18:396,00972,537,08919,228,79702,289,664
21May 11, 2021 18:396,02094,521,03719,264,68602,281,472
22May 11, 2021 18:446,02882,308,95419,290,54602,273,280
23May 11, 2021 18:446,04380,169,10119,338,41902,273,280
24May 11, 2021 18:446,06195,853,61619,393,94602,281,472