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 listMay 23, 2021 10:43Andrey TsvetkovAndrey TsvetkovScore: 5,759Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 10:435,71240,603,18616,248,0002,031,0002,531,328
2May 23, 2021 10:435,72140,887,97015,257,0003,051,0002,527,232
3May 23, 2021 10:435,73137,600,19516,303,0002,037,0002,334,720
4May 23, 2021 10:435,73643,404,08616,317,0002,039,0002,334,720
5May 23, 2021 10:435,73744,983,52016,319,0002,039,0002,535,424
6May 23, 2021 10:435,74536,197,33117,363,0001,021,0002,531,328
7May 23, 2021 10:435,75141,853,00416,359,0002,044,0002,334,720
8May 23, 2021 10:435,75942,839,37517,406,0001,023,0002,531,328
9May 23, 2021 10:435,76443,369,76117,422,0001,024,0002,531,328
10May 23, 2021 10:435,76573,306,45118,447,15702,232,320
11May 23, 2021 10:435,773102,044,80418,472,77502,244,608
12May 23, 2021 10:435,78686,362,99418,514,71602,232,320
13May 23, 2021 10:435,79478,191,01418,541,72702,240,512
14May 23, 2021 10:435,82165,029,41118,627,62102,228,224
15May 23, 2021 10:435,83183,584,90118,660,02602,236,416