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 29, 2021 22:38Andrey TsvetkovAndrey TsvetkovScore: 5,674Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2021 22:385,63241,620,08316,019,0002,002,0002,334,720
2Jun 29, 2021 22:385,63841,442,97715,034,0003,006,0002,334,720
3Jun 29, 2021 22:385,63845,917,83714,033,0004,009,0002,330,624
4Jun 29, 2021 22:385,63936,599,83516,040,0002,005,0002,523,136
5Jun 29, 2021 22:385,64847,514,87616,067,0002,008,0002,527,232
6Jun 29, 2021 22:385,64935,991,25816,070,0002,008,0002,334,720
7Jun 29, 2021 22:385,65942,867,01915,090,0003,018,0002,375,680
8Jun 29, 2021 22:385,66335,590,32315,102,0003,020,0002,527,232
9Jun 29, 2021 22:385,66347,175,42616,110,0002,013,0002,334,720
10Jun 29, 2021 22:385,66435,775,94116,112,0002,014,0002,334,720
11Jun 29, 2021 22:385,66745,897,85315,112,0003,022,0002,334,720
12Jun 29, 2021 22:385,67237,719,01316,134,0002,016,0002,334,720
13Jun 29, 2021 22:385,67439,744,52615,131,0003,026,0002,334,720
14Jun 29, 2021 22:385,67646,824,65116,144,0002,018,0002,338,816
15Jun 29, 2021 22:385,68244,311,71615,151,0003,030,0002,334,720
16Jun 29, 2021 22:385,68341,222,29416,166,0002,020,0002,322,432
17Jun 29, 2021 22:385,68344,037,99716,167,0002,020,0002,334,720
18Jun 29, 2021 22:385,70382,817,55618,249,14002,240,512
19Jun 29, 2021 22:385,71543,534,23515,241,0003,048,0002,334,720
20Jun 29, 2021 22:385,74282,187,20118,375,83602,228,224
21Jun 29, 2021 22:385,75897,736,35018,424,09002,236,416
22Jun 29, 2021 22:385,80594,505,70318,576,18402,232,320
23Jun 29, 2021 22:385,82076,375,79518,624,13002,236,416
24Jun 29, 2021 22:385,87283,547,94018,789,97802,224,128