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 00:54Yuriy LyfenkoYuriy LyfenkoScore: 4,388Success
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 00:544,359635,083,35411,956,0001,992,0002,273,280
2Aug 11, 2024 00:544,365643,470,94611,974,0001,995,0002,535,424
3Aug 11, 2024 00:544,371636,198,54311,989,0001,998,0002,535,424
4Aug 11, 2024 00:544,381639,585,49112,017,0002,002,0002,535,424
5Aug 11, 2024 00:544,383635,124,27312,021,0002,003,0002,535,424
6Aug 11, 2024 00:544,386636,044,92612,031,0002,005,0002,445,312
7Aug 11, 2024 00:544,388631,773,45212,036,0002,006,0002,535,424
8Aug 11, 2024 00:544,389635,321,53412,039,0002,006,0002,535,424
9Aug 11, 2024 00:544,404633,098,37012,081,0002,013,0002,535,424
10Aug 11, 2024 00:544,563670,378,12914,602,72202,252,800
11Aug 11, 2024 00:544,590664,964,90014,687,60302,203,648
12Aug 11, 2024 00:544,607678,621,38314,740,94302,334,720