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 11:32Ilya AniskovetsIlya AniskovetsScore: 5,457Success
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 11:325,42538,864,44316,339,0001,021,0002,273,280
2Nov 1, 2021 11:325,43334,229,69116,365,0001,022,0002,289,664
3Nov 1, 2021 11:325,44338,140,77016,392,0001,024,0002,273,280
4Nov 1, 2021 11:325,44342,013,97816,395,0001,024,0002,289,664
5Nov 1, 2021 11:325,44942,143,65016,412,0001,025,0002,277,376
6Nov 1, 2021 11:325,45144,834,23316,417,0001,026,0002,289,664
7Nov 1, 2021 11:325,45738,135,08816,434,0001,027,0002,269,184
8Nov 1, 2021 11:325,46341,353,69717,482,00002,289,664
9Nov 1, 2021 11:325,46840,092,17316,469,0001,029,0002,269,184
10Nov 1, 2021 11:325,62979,449,20118,013,05202,297,856
11Nov 1, 2021 11:325,64677,756,32118,067,47002,306,048
12Nov 1, 2021 11:325,66759,115,26918,134,49402,301,952