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 26, 2023 13:57Andranik ChakiryanAndranik ChakiryanScore: 5,640Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 26, 2023 13:575,59740,924,94615,920,0001,990,0002,355,200
2Feb 26, 2023 13:575,59843,479,75717,914,00002,342,912
3Feb 26, 2023 13:575,60940,138,55816,951,000997,0002,355,200
4Feb 26, 2023 13:575,61646,740,93416,974,000998,0002,342,912
5Feb 26, 2023 13:575,62339,730,46216,994,000999,0002,342,912
6Feb 26, 2023 13:575,62642,270,84716,002,0002,000,0002,441,216
7Feb 26, 2023 13:575,64042,338,79516,044,0002,005,0002,355,200
8Feb 26, 2023 13:575,64944,923,79315,064,0003,012,0002,359,296
9Feb 26, 2023 13:575,65236,853,74716,077,0002,009,0002,338,816
10Feb 26, 2023 13:575,74374,080,28718,377,35202,191,360
11Feb 26, 2023 13:575,76276,655,03718,439,59502,183,168
12Feb 26, 2023 13:575,80683,288,25118,580,11102,183,168