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 16:20Yuriy LyfenkoYuriy LyfenkoScore: 5,277Success
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 16:205,26935,174,40815,870,000991,0002,265,088
2May 28, 2021 16:205,26932,359,50314,879,0001,983,0002,269,184
3May 28, 2021 16:205,26938,616,06215,871,000991,0002,392,064
4May 28, 2021 16:205,27146,841,18014,882,0001,984,0002,265,088
5May 28, 2021 16:205,27645,164,37915,889,000993,0002,396,160
6May 28, 2021 16:205,27645,117,91314,896,0001,986,0002,396,160
7May 28, 2021 16:205,27735,841,78216,886,00002,392,064
8May 28, 2021 16:205,27932,555,70214,905,0001,987,0002,265,088
9May 28, 2021 16:205,31639,353,56515,011,0002,001,0002,260,992
10May 28, 2021 16:205,44455,406,25717,419,69302,281,472
11May 28, 2021 16:205,45645,498,22217,459,70702,277,376
12May 28, 2021 16:205,46666,308,91217,490,99802,277,376