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 listApr 18, 2024 17:49Robert BurkeRobert BurkeScore: 4,502Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 17:494,47235,639,90114,310,00002,424,832
2Apr 18, 2024 17:494,47834,372,16513,305,0001,023,0002,281,472
3Apr 18, 2024 17:494,48128,373,50114,339,00002,281,472
4Apr 18, 2024 17:494,48330,352,12014,345,00002,281,472
5Apr 18, 2024 17:494,48529,260,63514,351,00002,281,472
6Apr 18, 2024 17:494,49732,415,49514,391,00002,281,472
7Apr 18, 2024 17:494,50234,042,24614,407,00002,424,832
8Apr 18, 2024 17:494,50928,187,08213,400,0001,030,0002,277,376
9Apr 18, 2024 17:494,53329,284,43713,468,0001,036,0002,416,640
10Apr 18, 2024 17:494,721110,260,92115,106,33802,191,360
11Apr 18, 2024 17:494,73574,635,55615,151,80702,179,072
12Apr 18, 2024 17:494,74375,005,08615,177,69002,183,168