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:02Yuriy LyfenkoYuriy LyfenkoScore: 5,032Success
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:024,993538,741,21714,978,000998,0002,273,280
2Jun 3, 2021 16:025,008540,104,95714,022,0002,003,0002,281,472
3Jun 3, 2021 16:025,014544,366,84415,042,0001,002,0002,273,280
4Jun 3, 2021 16:025,016538,384,08714,044,0002,006,0002,273,280
5Jun 3, 2021 16:025,029543,201,92815,087,0001,005,0002,281,472
6Jun 3, 2021 16:025,029537,682,41615,089,0001,005,0002,273,280
7Jun 3, 2021 16:025,032538,392,88515,095,0001,006,0002,273,280
8Jun 3, 2021 16:025,034544,294,35915,102,0001,006,0002,273,280
9Jun 3, 2021 16:025,069542,402,74014,194,0002,027,0002,273,280
10Jun 3, 2021 16:025,147576,274,19516,470,68802,252,800
11Jun 3, 2021 16:025,166581,891,86216,530,58002,256,896
12Jun 3, 2021 16:025,179592,149,63516,574,12502,281,472