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:45Yuriy LyfenkoYuriy LyfenkoScore: 4,384Success
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:454,364540,151,66111,971,0001,995,0002,273,280
2Aug 11, 2024 01:454,365538,566,42411,972,0001,995,0002,535,424
3Aug 11, 2024 01:454,368536,513,08611,982,0001,997,0002,535,424
4Aug 11, 2024 01:454,375538,082,11812,001,0002,000,0002,535,424
5Aug 11, 2024 01:454,379539,751,41012,012,0002,002,0002,535,424
6Aug 11, 2024 01:454,383534,599,57512,021,0002,003,0002,535,424
7Aug 11, 2024 01:454,384536,039,39312,025,0002,004,0002,273,280
8Aug 11, 2024 01:454,389539,614,11412,040,0002,006,0002,535,424
9Aug 11, 2024 01:454,393536,840,49912,049,0002,008,0002,273,280
10Aug 11, 2024 01:454,592580,597,68314,695,52002,326,528
11Aug 11, 2024 01:454,594579,799,24914,701,56702,252,800
12Aug 11, 2024 01:454,600577,854,29714,720,83002,338,816