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 listSep 5, 2021 12:22Andrey TsvetkovAndrey TsvetkovScore: 5,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 12:225,61546,965,65116,969,000998,0002,342,912
2Sep 5, 2021 12:225,61531,778,84516,971,000998,0002,338,816
3Sep 5, 2021 12:225,61642,976,48615,975,0001,996,0002,433,024
4Sep 5, 2021 12:225,61744,199,96416,975,000998,0002,297,856
5Sep 5, 2021 12:225,62247,077,50316,992,000999,0002,433,024
6Sep 5, 2021 12:225,62336,658,85116,996,000999,0002,437,120
7Sep 5, 2021 12:225,65144,278,68217,078,0001,004,0002,338,816
8Sep 5, 2021 12:225,65734,073,13117,098,0001,005,0002,342,912
9Sep 5, 2021 12:225,66349,196,62817,114,0001,006,0002,342,912
10Sep 5, 2021 12:225,84692,384,52518,708,44502,285,568
11Sep 5, 2021 12:225,94856,844,16119,032,92002,265,088
12Sep 5, 2021 12:226,74881,505,18121,593,84902,277,376