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 2, 2023 19:33Jo SeatonJo SeatonScore: 51,796Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2023 19:3450,409227,295,745161,308,30602,220,032
2Jul 2, 2023 19:3450,434222,303,928161,388,23402,211,840
3Jul 2, 2023 19:3450,449230,793,907161,438,25702,215,936
4Jul 2, 2023 19:3850,551239,442,222161,764,34702,273,280
5Jul 2, 2023 19:3850,586222,681,804161,875,31502,265,088
6Jul 2, 2023 19:3850,664217,428,590162,124,60502,260,992
7Jul 2, 2023 19:3650,733218,414,154162,344,18102,207,744
8Jul 2, 2023 19:3650,777233,803,020162,485,49602,199,552
9Jul 2, 2023 19:3650,837233,755,124162,678,08202,199,552
10Jul 2, 2023 19:3651,796234,112,009165,746,34202,220,032
11Jul 2, 2023 19:3452,005227,046,716166,414,41502,232,320
12Jul 2, 2023 19:3452,027225,867,040166,486,83702,228,224
13Jul 2, 2023 19:3452,039224,323,684166,525,87102,228,224
14Jul 2, 2023 19:3652,282237,753,564167,303,06802,220,032
15Jul 2, 2023 19:3652,312225,569,969167,398,57002,228,224
16Jul 2, 2023 19:3360,257270,665,883192,822,68802,236,416
17Jul 2, 2023 19:3360,283278,659,646192,904,13702,256,896
18Jul 2, 2023 19:3360,316261,888,748193,011,13502,236,416