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 listNov 1, 2021 14:43Ilya AniskovetsIlya AniskovetsScore: 5,628Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 14:435,59946,080,58116,921,000995,0002,289,664
2Nov 1, 2021 14:435,60343,720,53015,937,0001,992,0002,289,664
3Nov 1, 2021 14:435,61240,163,07715,964,0001,995,0002,289,664
4Nov 1, 2021 14:435,61443,797,23216,968,000998,0002,289,664
5Nov 1, 2021 14:435,62140,746,45715,988,0001,998,0002,277,376
6Nov 1, 2021 14:435,62138,976,14916,989,000999,0002,289,664
7Nov 1, 2021 14:435,62841,022,09016,009,0002,001,0002,281,472
8Nov 1, 2021 14:435,63141,798,61016,016,0002,002,0002,289,664
9Nov 1, 2021 14:435,66842,887,64016,123,0002,015,0002,289,664
10Nov 1, 2021 14:435,77282,170,99218,469,16302,179,072
11Nov 1, 2021 14:435,77865,865,53518,489,17802,179,072
12Nov 1, 2021 14:435,80692,132,35418,579,91202,179,072