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 30, 2022 13:22Keichi TakahashiKeichi TakahashiScore: 5,394Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:225,33435,980,79116,064,0001,004,0002,265,088
2May 30, 2022 13:225,34643,271,38915,094,0002,012,0002,383,872
3May 30, 2022 13:225,35447,338,66815,117,0002,015,0002,383,872
4May 30, 2022 13:225,36042,292,69715,134,0002,017,0002,383,872
5May 30, 2022 13:225,37242,650,80616,178,0001,011,0002,396,160
6May 30, 2022 13:225,37233,968,34715,168,0002,022,0002,265,088
7May 30, 2022 13:225,39448,739,27416,245,0001,015,0002,265,088
8May 30, 2022 13:225,40639,746,61315,263,0002,035,0002,265,088
9May 30, 2022 13:225,40845,568,92115,269,0002,035,0002,387,968
10May 30, 2022 13:225,50585,730,47017,617,08002,281,472
11May 30, 2022 13:225,52187,585,72917,666,10402,273,280
12May 30, 2022 13:225,53699,183,77117,714,83702,285,568