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:00Yuriy LyfenkoYuriy LyfenkoScore: 5,077Success
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:005,027540,630,70114,076,0002,010,0002,281,472
2Jun 3, 2021 16:005,043544,629,76814,122,0002,017,0002,281,472
3Jun 3, 2021 16:005,045538,929,47715,136,0001,009,0002,273,280
4Jun 3, 2021 16:005,067537,999,48715,200,0001,013,0002,273,280
5Jun 3, 2021 16:005,070537,468,45314,197,0002,028,0002,281,472
6Jun 3, 2021 16:005,073546,106,61615,220,0001,014,0002,281,472
7Jun 3, 2021 16:005,077538,385,43315,231,0001,015,0002,273,280
8Jun 3, 2021 16:005,094542,495,08615,282,0001,018,0002,273,280
9Jun 3, 2021 16:005,125541,228,72616,401,00002,281,472
10Jun 3, 2021 16:005,210582,801,51416,672,88102,293,760
11Jun 3, 2021 16:005,221585,469,68016,707,00502,252,800
12Jun 3, 2021 16:005,222574,739,68816,711,84402,289,664