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 listMar 17, 2023 23:32Alexander MonakovAlexander MonakovScore: 4,569Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 23:324,54937,573,72814,558,00002,277,376
2Mar 17, 2023 23:324,55328,628,52114,569,00002,498,560
3Mar 17, 2023 23:324,55530,761,48714,575,00002,277,376
4Mar 17, 2023 23:324,55828,940,14514,584,00002,277,376
5Mar 17, 2023 23:324,55931,264,61614,590,00002,494,464
6Mar 17, 2023 23:324,56945,674,12114,620,00002,277,376
7Mar 17, 2023 23:324,56935,141,14514,622,00002,502,656
8Mar 17, 2023 23:324,57528,757,46314,639,00002,535,424
9Mar 17, 2023 23:324,58343,548,01514,666,00002,494,464
10Mar 17, 2023 23:324,76893,429,69915,256,65102,248,704
11Mar 17, 2023 23:324,81771,480,84115,413,65002,240,512
12Mar 17, 2023 23:324,84199,507,54515,491,47202,236,416