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 08:24Robert BurkeRobert BurkeScore: 4,639Success
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 08:244,57329,168,46413,587,0001,045,0002,449,408
2Jul 23, 2022 08:244,58744,947,83313,629,0001,048,0002,445,312
3Jul 23, 2022 08:244,58829,538,51613,634,0001,048,0002,445,312
4Jul 23, 2022 08:244,58845,681,37413,634,0001,048,0002,453,504
5Jul 23, 2022 08:244,58940,103,26413,636,0001,048,0002,281,472
6Jul 23, 2022 08:244,60332,013,66813,677,0001,052,0002,281,472
7Jul 23, 2022 08:244,63932,203,65813,855,000989,0002,277,376
8Jul 23, 2022 08:244,64341,742,82213,866,000990,0002,445,312
9Jul 23, 2022 08:244,64637,841,96013,876,000991,0002,281,472
10Jul 23, 2022 08:244,81669,096,67015,412,13202,207,744
11Jul 23, 2022 08:244,83784,480,81615,477,85602,203,648
12Jul 23, 2022 08:244,85973,864,96715,548,23502,203,648