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 2, 2021 20:31Yuriy LyfenkoYuriy LyfenkoScore: 6,006Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 20:315,9751,044,085,21816,102,0003,019,0002,330,624
2Jun 2, 2021 20:315,9801,043,592,49916,116,0003,021,0002,330,624
3Jun 2, 2021 20:315,9811,043,610,48917,124,0002,014,0002,342,912
4Jun 2, 2021 20:315,9831,044,629,86216,122,0003,022,0002,342,912
5Jun 2, 2021 20:316,0021,038,408,98917,186,0002,021,0002,330,624
6Jun 2, 2021 20:316,0041,045,848,29116,179,0003,033,0002,514,944
7Jun 2, 2021 20:316,0061,041,100,88217,196,0002,023,0002,330,624
8Jun 2, 2021 20:316,0101,039,146,94616,196,0003,036,0002,330,624
9Jun 2, 2021 20:316,0161,047,050,99817,224,0002,026,0002,330,624
10Jun 2, 2021 20:316,0421,098,687,87919,332,96602,236,416
11Jun 2, 2021 20:316,0981,084,286,71219,514,61902,224,128
12Jun 2, 2021 20:316,1321,084,631,35219,621,49902,215,936