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,166Success
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,13133,705,83415,394,0001,026,0002,527,232
2May 28, 2021 15:245,13234,428,81615,395,0001,026,0002,265,088
3May 28, 2021 15:245,13241,803,04015,397,0001,026,0002,387,968
4May 28, 2021 15:245,13336,387,95716,424,00002,265,088
5May 28, 2021 15:245,14837,979,52515,444,0001,029,0002,265,088
6May 28, 2021 15:245,15532,350,95115,466,0001,031,0002,265,088
7May 28, 2021 15:245,16644,471,10615,499,0001,033,0002,265,088
8May 28, 2021 15:245,17338,195,88515,518,0001,034,0002,392,064
9May 28, 2021 15:245,17933,725,99416,574,00002,265,088
10May 28, 2021 15:245,31145,478,06016,996,25602,277,376
11May 28, 2021 15:245,33082,036,77417,056,10502,277,376
12May 28, 2021 15:245,37757,879,20817,206,08702,281,472