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 03:54Yuriy LyfenkoYuriy LyfenkoScore: 5,134Success
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 03:545,096540,894,93515,289,0001,019,0002,273,280
2Jun 3, 2021 03:545,097539,808,43815,292,0001,019,0002,523,136
3Jun 3, 2021 03:545,102537,084,19115,305,0001,020,0002,273,280
4Jun 3, 2021 03:545,104539,708,75016,334,00002,273,280
5Jun 3, 2021 03:545,112538,483,78415,335,0001,022,0002,273,280
6Jun 3, 2021 03:545,118542,994,53416,378,00002,281,472
7Jun 3, 2021 03:545,134538,423,40716,429,00002,273,280
8Jun 3, 2021 03:545,142539,303,45715,426,0001,028,0002,281,472
9Jun 3, 2021 03:545,143552,691,07015,431,0001,028,0002,281,472
10Jun 3, 2021 03:545,240574,513,81316,767,00502,293,760
11Jun 3, 2021 03:545,250572,986,98916,799,09702,256,896
12Jun 3, 2021 03:545,280574,240,92816,897,54802,285,568