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 listSep 26, 2023 00:26IhebIhebScore: 5,790Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 00:265,73140,765,44717,322,0001,018,0002,273,280
2Sep 26, 2023 00:265,73140,990,71516,303,0002,037,0002,392,064
3Sep 26, 2023 00:265,75537,810,46617,392,0001,023,0002,273,280
4Sep 26, 2023 00:265,76440,690,76917,422,0001,024,0002,269,184
5Sep 26, 2023 00:265,77544,969,83117,454,0001,026,0002,289,664
6Sep 26, 2023 00:265,78541,544,75317,484,0001,028,0002,289,664
7Sep 26, 2023 00:265,79044,665,03817,498,0001,029,0002,371,584
8Sep 26, 2023 00:265,79039,484,66817,500,0001,029,0002,289,664
9Sep 26, 2023 00:265,81639,379,60017,577,0001,033,0002,371,584
10Sep 26, 2023 00:265,98488,679,36319,149,70002,293,760
11Sep 26, 2023 00:266,00990,519,80719,229,87702,293,760
12Sep 26, 2023 00:266,05495,130,26119,374,19202,301,952