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 25, 2024 15:38Yuriy LyfenkoYuriy LyfenkoScore: 4,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 15:384,411541,678,99012,099,0002,016,0002,523,136
2Jul 25, 2024 15:384,413540,758,06412,105,0002,017,0002,392,064
3Jul 25, 2024 15:384,422539,391,30013,139,0001,010,0002,523,136
4Jul 25, 2024 15:384,423543,802,30513,143,0001,011,0002,523,136
5Jul 25, 2024 15:384,441540,603,73812,182,0002,030,0002,519,040
6Jul 25, 2024 15:384,443538,223,45513,202,0001,015,0002,265,088
7Jul 25, 2024 15:384,448541,686,91212,199,0002,033,0002,523,136
8Jul 25, 2024 15:384,457541,014,16314,261,00002,523,136
9Jul 25, 2024 15:384,459538,476,89513,250,0001,019,0002,265,088
10Jul 25, 2024 15:384,617583,663,30314,775,79502,289,664
11Jul 25, 2024 15:384,620577,483,77114,782,45102,240,512
12Jul 25, 2024 15:384,627577,444,18714,807,84702,281,472