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 25, 2021 15:41Yuriy 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 25, 2021 15:415,08837,689,96315,263,0001,017,0002,265,088
2May 25, 2021 15:415,09127,874,39515,272,0001,018,0002,265,088
3May 25, 2021 15:415,09340,141,14014,260,0002,037,0002,265,088
4May 25, 2021 15:415,10836,509,23316,346,00002,265,088
5May 25, 2021 15:415,12338,043,79114,345,0002,049,0002,396,160
6May 25, 2021 15:415,12837,361,05515,386,0001,025,0002,265,088
7May 25, 2021 15:415,12939,854,34515,387,0001,025,0002,265,088
8May 25, 2021 15:415,13333,495,91115,399,0001,026,0002,265,088
9May 25, 2021 15:415,14742,893,45315,441,0001,029,0002,473,984
10May 25, 2021 15:415,32259,741,55917,031,69002,269,184
11May 25, 2021 15:415,32947,871,05517,053,84502,277,376
12May 25, 2021 15:415,59274,666,00717,895,03602,285,568