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 listFeb 3, 2025 12:22Sergey SerebryakovSergey SerebryakovScore: 5,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 3, 2025 12:225,85239,436,01417,686,0001,040,0002,285,568
2Feb 3, 2025 12:225,88447,475,03717,839,000991,0002,289,664
3Feb 3, 2025 12:225,89342,640,82316,872,0001,984,0002,289,664
4Feb 3, 2025 12:225,89448,046,20016,877,0001,985,0002,289,664
5Feb 3, 2025 12:225,89852,012,85917,882,000993,0002,289,664
6Feb 3, 2025 12:225,90350,201,81216,902,0001,988,0002,289,664
7Feb 3, 2025 12:225,90541,014,92717,848,0001,049,0002,269,184
8Feb 3, 2025 12:225,90549,667,57316,908,0001,989,0002,277,376
9Feb 3, 2025 12:225,91847,410,73016,946,0001,993,0002,289,664