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:40Robert BurkeRobert BurkeScore: 4,673Success
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:404,64736,601,04512,887,0001,982,0002,441,216
2Jul 22, 2022 23:404,64734,856,11512,887,0001,982,0002,441,216
3Jul 22, 2022 23:404,64838,730,90612,892,0001,983,0002,445,312
4Jul 22, 2022 23:404,65128,735,62312,898,0001,984,0002,281,472
5Jul 22, 2022 23:404,65832,286,72212,918,0001,987,0002,281,472
6Jul 22, 2022 23:404,66332,728,58613,855,0001,065,0002,445,312
7Jul 22, 2022 23:404,67330,947,52912,961,0001,994,0002,445,312
8Jul 22, 2022 23:404,68131,926,92312,983,0001,997,0002,445,312
9Jul 22, 2022 23:404,69940,883,88813,032,0002,005,0002,281,472
10Jul 22, 2022 23:404,82875,085,97715,448,17902,207,744
11Jul 22, 2022 23:404,87177,832,40015,586,86102,203,648
12Jul 22, 2022 23:404,87155,901,78515,588,22002,195,456