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 29, 2021 22:01Yuriy LyfenkoYuriy LyfenkoScore: 5,072Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 22:015,02835,756,87414,077,0002,011,0002,408,448
2May 29, 2021 22:015,02945,140,26114,081,0002,011,0002,408,448
3May 29, 2021 22:015,03143,772,17515,094,0001,006,0002,404,352
4May 29, 2021 22:015,03237,920,18914,090,0002,012,0002,404,352
5May 29, 2021 22:015,03633,147,43614,101,0002,014,0002,281,472
6May 29, 2021 22:015,05333,189,75714,148,0002,021,0002,400,256
7May 29, 2021 22:015,07240,656,49814,201,0002,028,0002,408,448
8May 29, 2021 22:015,07437,220,95414,208,0002,029,0002,281,472
9May 29, 2021 22:015,08236,564,06715,247,0001,016,0002,281,472
10May 29, 2021 22:015,22177,949,73716,708,00402,293,760
11May 29, 2021 22:015,23178,290,66416,739,46802,285,568
12May 29, 2021 22:015,23788,081,07016,758,66502,293,760