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 listMay 28, 2021 14:39Yuriy LyfenkoYuriy LyfenkoScore: 5,155Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 14:395,13037,735,62315,390,0001,026,0002,265,088
2May 28, 2021 14:395,13630,913,37315,407,0001,027,0002,396,160
3May 28, 2021 14:395,13842,171,22416,443,00002,265,088
4May 28, 2021 14:395,14238,882,23015,427,0001,028,0002,396,160
5May 28, 2021 14:395,14847,426,78915,444,0001,029,0002,392,064
6May 28, 2021 14:395,15338,924,26615,461,0001,030,0002,256,896
7May 28, 2021 14:395,15534,504,21116,495,00002,392,064
8May 28, 2021 14:395,16942,350,03416,541,00002,396,160
9May 28, 2021 14:395,18344,221,36116,586,00002,396,160
10May 28, 2021 14:395,32479,712,35117,037,11602,273,280
11May 28, 2021 14:395,34574,803,27417,103,76602,277,376
12May 28, 2021 14:395,39653,238,54217,265,72102,277,376