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 3, 2021 16:17Yuriy LyfenkoYuriy LyfenkoScore: 5,086Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:175,028541,441,34614,077,0002,011,0002,273,280
2Jun 3, 2021 16:175,039536,623,42514,110,0002,015,0002,273,280
3Jun 3, 2021 16:175,040540,806,44514,113,0002,016,0002,281,472
4Jun 3, 2021 16:175,062542,404,12715,186,0001,012,0002,273,280
5Jun 3, 2021 16:175,074540,978,45016,238,00002,273,280
6Jun 3, 2021 16:175,079541,949,88415,238,0001,015,0002,281,472
7Jun 3, 2021 16:175,086540,496,61816,275,00002,281,472
8Jun 3, 2021 16:175,090536,239,01716,288,00002,273,280
9Jun 3, 2021 16:175,102545,432,28815,307,0001,020,0002,273,280
10Jun 3, 2021 16:175,199582,780,34216,637,09302,289,664
11Jun 3, 2021 16:175,207568,735,47116,662,52002,256,896
12Jun 3, 2021 16:175,230578,856,08116,734,94502,289,664