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 listAug 6, 2024 23:21zielajzielajScore: 4,690Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 23:214,67232,545,83212,956,0001,993,0002,273,280
2Aug 6, 2024 23:214,67437,870,54012,962,0001,994,0002,269,184
3Aug 6, 2024 23:214,67539,779,34413,962,000997,0002,289,664
4Aug 6, 2024 23:214,68238,942,89612,985,0001,997,0002,289,664
5Aug 6, 2024 23:214,68832,399,84113,002,0002,000,0002,289,664
6Aug 6, 2024 23:214,68936,611,76913,005,0002,000,0002,289,664
7Aug 6, 2024 23:214,69034,797,35813,008,0002,001,0002,289,664
8Aug 6, 2024 23:214,69432,883,23013,019,0002,003,0002,273,280
9Aug 6, 2024 23:214,69632,841,93613,024,0002,003,0002,375,680
10Aug 6, 2024 23:214,92075,574,79815,745,42602,183,168
11Aug 6, 2024 23:214,95586,008,82615,855,27902,183,168
12Aug 6, 2024 23:214,96086,725,13715,872,46702,318,336