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 15, 2023 06:33AmirAmirScore: 5,759Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 06:335,70440,803,42617,238,0001,014,0002,519,040
2May 15, 2023 06:335,71639,498,78216,258,0002,032,0002,527,232
3May 15, 2023 06:335,74741,061,53116,348,0002,043,0002,277,376
4May 15, 2023 06:335,75845,818,87817,404,0001,023,0002,277,376
5May 15, 2023 06:335,75939,601,93217,406,0001,023,0002,289,664
6May 15, 2023 06:335,75944,365,92016,382,0002,047,0002,289,664
7May 15, 2023 06:335,75944,304,72617,407,0001,023,0002,269,184
8May 15, 2023 06:335,77838,696,26718,491,00002,387,968
9May 15, 2023 06:335,79843,465,37417,524,0001,030,0002,289,664
10May 15, 2023 06:335,89686,993,35218,868,44502,301,952
11May 15, 2023 06:335,90793,581,00318,902,44402,297,856
12May 15, 2023 06:335,94987,984,27519,036,19702,301,952