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 listJun 27, 2021 22:28gchebanovgchebanovScore: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2021 22:285,50738,857,23016,585,0001,036,0002,510,848
2Jun 27, 2021 22:285,51341,062,99016,604,0001,037,0002,510,848
3Jun 27, 2021 22:285,58249,762,91216,869,000992,0002,285,568
4Jun 27, 2021 22:285,58246,034,35916,871,000992,0002,519,040
5Jun 27, 2021 22:285,58335,984,82316,873,000992,0002,285,568
6Jun 27, 2021 22:285,58345,836,45115,882,0001,985,0002,285,568
7Jun 27, 2021 22:285,58447,272,52516,877,000992,0002,510,848
8Jun 27, 2021 22:285,58645,977,66015,888,0001,986,0002,285,568
9Jun 27, 2021 22:285,60544,398,35415,944,0001,993,0002,502,656
10Jun 27, 2021 22:285,70663,394,60718,259,38502,269,184
11Jun 27, 2021 22:285,72981,167,71518,333,34702,269,184
12Jun 27, 2021 22:285,77885,862,18318,489,14602,273,280