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 19:08Yuriy LyfenkoYuriy LyfenkoScore: 5,166Success
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 19:085,148544,050,67616,474,00002,281,472
2Jun 2, 2021 19:085,148539,948,00315,445,0001,029,0002,269,184
3Jun 2, 2021 19:085,151537,757,29915,452,0001,030,0002,269,184
4Jun 2, 2021 19:085,156537,327,13814,438,0002,062,0002,273,280
5Jun 2, 2021 19:085,157541,786,60515,470,0001,031,0002,273,280
6Jun 2, 2021 19:085,158541,033,63913,412,0003,095,0002,281,472
7Jun 2, 2021 19:085,166549,611,39915,498,0001,033,0002,273,280
8Jun 2, 2021 19:085,181542,388,96914,508,0002,072,0002,273,280
9Jun 2, 2021 19:085,185546,204,41815,556,0001,037,0002,408,448
10Jun 2, 2021 19:085,779570,404,10218,493,34402,285,568
11Jun 2, 2021 19:085,787585,425,60418,518,64502,285,568
12Jun 2, 2021 19:085,817570,922,27718,613,50902,289,664