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 listJun 3, 2021 16:19Yuriy LyfenkoYuriy LyfenkoScore: 5,103Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:195,038538,581,53314,106,0002,015,0002,273,280
2Jun 3, 2021 16:195,038536,244,45714,107,0002,015,0002,273,280
3Jun 3, 2021 16:195,039543,045,07014,110,0002,015,0002,273,280
4Jun 3, 2021 16:195,062535,311,51516,199,00002,281,472
5Jun 3, 2021 16:195,076536,177,32315,229,0001,015,0002,510,848
6Jun 3, 2021 16:195,087540,373,43316,279,00002,273,280
7Jun 3, 2021 16:195,103537,705,70516,331,00002,273,280
8Jun 3, 2021 16:195,108539,392,70815,324,0001,021,0002,412,544
9Jun 3, 2021 16:195,110548,622,68715,331,0001,022,0002,273,280
10Jun 3, 2021 16:195,186579,502,57616,594,62502,285,568
11Jun 3, 2021 16:195,201577,188,95516,643,63702,285,568
12Jun 3, 2021 16:195,240577,304,41516,768,99802,289,664