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:45Yuriy LyfenkoYuriy LyfenkoScore: 5,761Success
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:455,72233,778,29218,310,00002,519,040
2May 11, 2021 18:455,72939,592,62016,297,0002,037,0002,519,040
3May 11, 2021 18:455,74236,562,52018,373,00002,383,872
4May 11, 2021 18:455,75143,276,46217,382,0001,022,0002,396,160
5May 11, 2021 18:455,75339,668,23017,386,0001,022,0002,519,040
6May 11, 2021 18:455,75942,023,88717,407,0001,023,0002,383,872
7May 11, 2021 18:455,76142,088,15515,364,0003,072,0002,387,968
8May 11, 2021 18:455,77047,178,52316,414,0002,051,0002,478,080
9May 11, 2021 18:455,78242,475,59817,474,0001,027,0002,387,968
10May 11, 2021 18:455,97981,683,56819,131,71402,285,568
11May 11, 2021 18:455,99679,731,76719,186,96902,281,472
12May 11, 2021 18:456,03497,689,13619,309,59802,273,280