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 23, 2022 04:25Robert BurkeRobert BurkeScore: 4,652Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 04:254,58934,044,08413,637,0001,049,0002,445,312
2Jul 23, 2022 04:254,59829,338,66313,664,0001,051,0002,449,408
3Jul 23, 2022 04:254,60133,199,69613,671,0001,051,0002,449,408
4Jul 23, 2022 04:254,64634,514,50413,877,000991,0002,445,312
5Jul 23, 2022 04:254,64841,011,89912,891,0001,983,0002,535,424
6Jul 23, 2022 04:254,64936,722,75112,894,0001,983,0002,281,472
7Jul 23, 2022 04:254,65232,233,15912,901,0001,984,0002,453,504
8Jul 23, 2022 04:254,65535,679,19212,910,0001,986,0002,281,472
9Jul 23, 2022 04:254,66030,786,13012,923,0001,988,0002,457,600
10Jul 23, 2022 04:254,79582,061,02615,344,97102,211,840
11Jul 23, 2022 04:254,82698,855,52515,442,62502,211,840
12Jul 23, 2022 04:254,835118,686,48715,473,21702,207,744