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 listJul 28, 2024 13:43BenBenScore: 4,556Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 13:434,53931,563,87314,524,00002,265,088
2Jul 28, 2024 13:434,54231,882,64014,534,00002,265,088
3Jul 28, 2024 13:434,54334,855,04913,501,0001,038,0002,392,064
4Jul 28, 2024 13:434,55138,073,55313,523,0001,040,0002,387,968
5Jul 28, 2024 13:434,55528,917,62014,575,00002,392,064
6Jul 28, 2024 13:434,55532,323,82414,575,00002,265,088
7Jul 28, 2024 13:434,55631,684,76214,579,00002,265,088
8Jul 28, 2024 13:434,55832,015,55314,584,00002,265,088
9Jul 28, 2024 13:434,56232,383,55513,556,0001,042,0002,387,968
10Jul 28, 2024 13:434,78287,237,64815,303,33902,285,568
11Jul 28, 2024 13:434,81192,429,67015,394,27002,240,512
12Jul 28, 2024 13:434,98473,204,84515,949,52902,289,664