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 24, 2021 06:01Yuriy LyfenkoYuriy LyfenkoScore: 5,099Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 06:015,06438,809,11114,181,0002,025,0002,387,968
2May 24, 2021 06:015,08334,316,11115,249,0001,016,0002,396,160
3May 24, 2021 06:015,08444,073,90414,236,0002,033,0002,387,968
4May 24, 2021 06:015,08433,607,58915,254,0001,016,0002,265,088
5May 24, 2021 06:015,09048,694,07115,270,0001,018,0002,392,064
6May 24, 2021 06:015,09631,835,74615,288,0001,019,0002,392,064
7May 24, 2021 06:015,09940,417,07215,297,0001,019,0002,265,088
8May 24, 2021 06:015,11033,822,51915,330,0001,022,0002,265,088
9May 24, 2021 06:015,12534,188,26716,399,00002,265,088
10May 24, 2021 06:015,27367,897,82816,874,05802,281,472
11May 24, 2021 06:015,29692,755,40616,946,69002,285,568
12May 24, 2021 06:015,33780,880,84017,078,56302,285,568