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 23, 2021 23:21Yuriy LyfenkoYuriy LyfenkoScore: 5,129Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 23:215,07540,749,50214,210,0002,030,0002,527,232
2May 23, 2021 23:215,09336,514,06214,261,0002,037,0002,392,064
3May 23, 2021 23:215,10642,241,48614,296,0002,042,0002,510,848
4May 23, 2021 23:215,11438,051,14814,319,0002,045,0002,265,088
5May 23, 2021 23:215,11834,691,94216,379,00002,269,184
6May 23, 2021 23:215,12637,416,35815,378,0001,025,0002,387,968
7May 23, 2021 23:215,12939,592,69516,413,00002,396,160
8May 23, 2021 23:215,14240,956,64915,427,0001,028,0002,396,160
9May 23, 2021 23:215,14643,550,53216,468,00002,265,088
10May 23, 2021 23:215,30388,061,54816,968,70902,277,376
11May 23, 2021 23:215,32670,690,50417,042,88702,277,376
12May 23, 2021 23:215,33589,578,61717,071,92202,273,280