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:37Robert BurkeRobert BurkeScore: 4,600Success
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:374,57036,297,70513,579,0001,044,0002,281,472
2Jul 22, 2022 23:374,58240,177,95213,616,0001,047,0002,433,024
3Jul 22, 2022 23:374,58638,590,80513,627,0001,048,0002,445,312
4Jul 22, 2022 23:374,58928,119,47713,637,0001,049,0002,449,408
5Jul 22, 2022 23:374,59235,352,26213,645,0001,049,0002,449,408
6Jul 22, 2022 23:374,59743,050,25213,659,0001,050,0002,281,472
7Jul 22, 2022 23:374,60030,251,34913,669,0001,051,0002,281,472
8Jul 22, 2022 23:374,60627,891,91613,686,0001,052,0002,449,408
9Jul 22, 2022 23:374,64938,348,97613,886,000991,0002,449,408
10Jul 22, 2022 23:374,82894,318,58715,448,43102,207,744
11Jul 22, 2022 23:374,83574,392,44715,470,45202,199,552
12Jul 22, 2022 23:374,84474,642,79415,500,04202,199,552