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 15:24Yuriy LyfenkoYuriy LyfenkoScore: 5,180Success
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 15:245,11736,423,45714,328,0002,046,0002,265,088
2May 28, 2021 15:245,13538,252,33316,432,00002,392,064
3May 28, 2021 15:245,14533,388,11516,463,00002,265,088
4May 28, 2021 15:245,14938,624,01116,476,00002,527,232
5May 28, 2021 15:245,15238,682,70216,486,00002,392,064
6May 28, 2021 15:245,16132,117,35616,515,00002,506,752
7May 28, 2021 15:245,18037,060,21116,576,00002,265,088
8May 28, 2021 15:245,18041,110,13316,577,00002,265,088
9May 28, 2021 15:245,18341,404,78316,587,00002,396,160
10May 28, 2021 15:245,35548,118,82817,136,75602,281,472
11May 28, 2021 15:245,36363,624,32717,163,01902,277,376
12May 28, 2021 15:245,38275,105,98917,223,01302,277,376