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 listJul 13, 2021 19:36Andrey TsvetkovAndrey TsvetkovScore: 5,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:365,65249,123,79915,072,0003,014,0002,334,720
2Jul 13, 2021 19:365,65635,103,62616,089,0002,011,0002,523,136
3Jul 13, 2021 19:365,65850,248,79516,094,0002,011,0002,531,328
4Jul 13, 2021 19:365,66043,234,34616,101,0002,012,0002,334,720
5Jul 13, 2021 19:365,66543,802,30015,106,0003,021,0002,334,720
6Jul 13, 2021 19:365,68342,385,02515,156,0003,031,0002,334,720
7Jul 13, 2021 19:365,69473,015,88818,221,20002,228,224
8Jul 13, 2021 19:365,70345,841,50315,207,0003,041,0002,531,328
9Jul 13, 2021 19:365,70342,948,18715,207,0003,041,0002,334,720
10Jul 13, 2021 19:365,70766,775,88518,263,88802,228,224
11Jul 13, 2021 19:365,71541,638,12617,273,0001,016,0002,383,872
12Jul 13, 2021 19:365,74087,303,36018,368,72502,236,416