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 11, 2024 01:13Yuriy LyfenkoYuriy LyfenkoScore: 4,395Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 01:134,363539,228,61411,968,0001,994,0002,535,424
2Aug 11, 2024 01:134,366538,947,21511,975,0001,995,0002,273,280
3Aug 11, 2024 01:134,378533,034,78412,009,0002,001,0002,273,280
4Aug 11, 2024 01:134,384540,256,31612,025,0002,004,0002,273,280
5Aug 11, 2024 01:134,389535,362,76712,038,0002,006,0002,535,424
6Aug 11, 2024 01:134,390535,619,87912,041,0002,006,0002,535,424
7Aug 11, 2024 01:134,395538,853,85212,055,0002,009,0002,535,424
8Aug 11, 2024 01:134,400535,326,71512,068,0002,011,0002,273,280
9Aug 11, 2024 01:134,413535,716,63013,113,0001,008,0002,273,280
10Aug 11, 2024 01:134,591574,931,85414,691,68802,203,648
11Aug 11, 2024 01:134,609573,972,17014,747,53402,252,800
12Aug 11, 2024 01:134,609596,133,32214,749,48602,355,200