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 listMay 19, 2021 18:19Andrey TsvetkovAndrey TsvetkovScore: 6,403Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 18:186,29786,449,77920,149,06602,224,128
2May 19, 2021 18:196,335109,928,51820,273,42902,236,416
3May 19, 2021 18:186,33688,114,90020,273,69102,232,320
4May 19, 2021 18:196,36975,542,44320,381,13102,220,032
5May 19, 2021 18:186,37190,813,60320,386,11102,232,320
6May 19, 2021 18:196,372108,166,44720,391,01702,232,320
7May 19, 2021 18:186,403101,477,87720,488,20002,236,416
8May 19, 2021 18:196,44693,875,41120,627,25702,224,128
9May 19, 2021 18:196,52952,555,08920,892,03102,236,416
10May 19, 2021 18:196,62761,704,48821,206,97302,269,184
11May 19, 2021 18:186,82648,836,25821,843,55002,244,608
12May 19, 2021 18:186,98957,134,92322,366,25902,252,800