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 16, 2021 18:03Yuriy LyfenkoYuriy LyfenkoScore: 5,422Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:035,390458,830,47116,233,0001,014,0002,265,088
2May 16, 2021 18:035,394458,576,05917,260,00002,265,088
3May 16, 2021 18:035,401463,798,27216,268,0001,016,0002,519,040
4May 16, 2021 18:035,415461,664,31116,309,0001,019,0002,400,256
5May 16, 2021 18:035,418459,071,55117,339,00002,506,752
6May 16, 2021 18:035,422458,166,49114,288,0003,061,0002,523,136
7May 16, 2021 18:035,422462,028,98316,330,0001,020,0002,527,232
8May 16, 2021 18:035,430459,766,98217,375,00002,265,088
9May 16, 2021 18:035,454467,194,22516,426,0001,026,0002,260,992
10May 16, 2021 18:035,627496,669,88018,006,43702,281,472
11May 16, 2021 18:035,630501,511,42318,015,05702,281,472
12May 16, 2021 18:035,656492,231,49418,098,23902,285,568