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 22, 2022 23:35Robert BurkeRobert BurkeScore: 4,598Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 23:354,58632,781,34813,626,0001,048,0002,449,408
2Jul 22, 2022 23:354,58829,977,87313,634,0001,048,0002,281,472
3Jul 22, 2022 23:354,59227,314,99613,644,0001,049,0002,445,312
4Jul 22, 2022 23:354,59337,647,98913,649,0001,049,0002,281,472
5Jul 22, 2022 23:354,59733,588,00013,660,0001,050,0002,445,312
6Jul 22, 2022 23:354,59730,711,84013,661,0001,050,0002,281,472
7Jul 22, 2022 23:354,59846,587,84913,664,0001,051,0002,437,120
8Jul 22, 2022 23:354,64929,585,97912,893,0001,983,0002,449,408
9Jul 22, 2022 23:354,64932,348,34213,886,000991,0002,281,472
10Jul 22, 2022 23:354,82275,182,85115,428,98002,207,744
11Jul 22, 2022 23:354,82566,377,47115,439,72202,199,552
12Jul 22, 2022 23:354,85181,579,02215,524,58402,195,456