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 25, 2021 15:42Yuriy LyfenkoYuriy LyfenkoScore: 5,124Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:435,08333,504,37314,231,0002,033,0002,260,992
2May 25, 2021 15:425,08450,174,27615,253,0001,016,0002,502,656
3May 25, 2021 15:435,08535,941,52315,256,0001,017,0002,387,968
4May 25, 2021 15:425,08846,219,12915,264,0001,017,0002,400,256
5May 25, 2021 15:435,08840,096,44315,265,0001,017,0002,265,088
6May 25, 2021 15:435,09439,159,96614,264,0002,037,0002,383,872
7May 25, 2021 15:425,09531,935,88616,304,00002,387,968
8May 25, 2021 15:425,09538,250,05414,267,0002,038,0002,396,160
9May 25, 2021 15:435,10442,600,71414,291,0002,041,0002,392,064
10May 25, 2021 15:435,10840,860,95714,303,0002,043,0002,265,088
11May 25, 2021 15:425,11537,635,73015,346,0001,023,0002,265,088
12May 25, 2021 15:435,11934,721,32416,380,00002,392,064
13May 25, 2021 15:425,12438,059,53115,374,0001,024,0002,392,064
14May 25, 2021 15:425,12840,209,54914,359,0002,051,0002,265,088
15May 25, 2021 15:435,12942,641,60215,387,0001,025,0002,383,872
16May 25, 2021 15:425,13543,275,95116,432,00002,265,088
17May 25, 2021 15:435,14045,193,14516,448,00002,265,088
18May 25, 2021 15:425,15643,892,42314,559,0001,941,0002,400,256
19May 25, 2021 15:425,26266,135,14616,839,02302,273,280
20May 25, 2021 15:435,27267,451,64316,871,90402,285,568
21May 25, 2021 15:435,28559,489,01316,911,37202,273,280
22May 25, 2021 15:425,29461,330,10816,941,51902,285,568
23May 25, 2021 15:425,320103,883,24517,025,20102,281,472
24May 25, 2021 15:435,37999,778,25317,213,67802,285,568