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:14Yuriy LyfenkoYuriy LyfenkoScore: 5,624Success
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,58144,785,57316,866,000992,0002,387,968
2May 11, 2021 18:035,58444,992,96015,885,0001,985,0002,519,040
3May 11, 2021 18:145,58446,057,61515,884,0001,985,0002,383,872
4May 11, 2021 18:035,59032,998,54815,902,0001,987,0002,387,968
5May 11, 2021 18:145,59042,280,37517,888,00002,519,040
6May 11, 2021 18:145,59237,091,70414,913,0002,982,0002,519,040
7May 11, 2021 18:035,60144,179,34515,933,0001,991,0002,383,872
8May 11, 2021 18:035,60147,504,83217,923,00002,383,872
9May 11, 2021 18:145,60343,646,70614,940,0002,988,0002,519,040
10May 11, 2021 18:035,61547,877,80116,971,000998,0002,383,872
11May 11, 2021 18:035,62047,020,78015,987,0001,998,0002,396,160
12May 11, 2021 18:145,62242,352,98016,992,000999,0002,519,040
13May 11, 2021 18:145,62449,943,12015,999,0001,999,0002,519,040
14May 11, 2021 18:145,62742,900,40116,005,0002,000,0002,519,040
15May 11, 2021 18:145,63248,784,14616,020,0002,002,0002,519,040
16May 11, 2021 18:035,63543,184,97016,029,0002,003,0002,494,464
17May 11, 2021 18:145,64646,217,43315,055,0003,011,0002,387,968
18May 11, 2021 18:035,65349,488,77917,086,0001,005,0002,387,968
19May 11, 2021 18:145,76072,308,60518,433,21602,289,664
20May 11, 2021 18:035,80684,446,01218,579,33802,285,568
21May 11, 2021 18:145,82380,768,83618,634,95102,289,664
22May 11, 2021 18:035,84784,945,21718,709,33002,277,376
23May 11, 2021 18:035,85485,724,53418,731,41502,273,280
24May 11, 2021 18:145,85487,311,50618,732,71702,281,472