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 4, 2024 00:29jeffplaisancejeffplaisanceScore: 4,396Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 00:294,36828,484,86712,980,000998,0002,498,560
2Aug 4, 2024 00:294,37334,291,44312,995,000999,0002,277,376
3Aug 4, 2024 00:294,37430,519,38512,999,000999,0002,498,560
4Aug 4, 2024 00:294,37827,986,99713,010,0001,000,0002,498,560
5Aug 4, 2024 00:294,38139,635,95513,018,0001,001,0002,277,376
6Aug 4, 2024 00:294,38531,607,40213,031,0001,002,0002,535,424
7Aug 4, 2024 00:294,39636,723,38113,063,0001,004,0002,502,656
8Aug 4, 2024 00:294,41328,705,53213,113,0001,008,0002,494,464
9Aug 4, 2024 00:294,42531,541,00413,149,0001,011,0002,277,376
10Aug 4, 2024 00:294,65684,438,97414,897,83102,244,608
11Aug 4, 2024 00:294,66863,356,65114,936,36002,240,512
12Aug 4, 2024 00:294,70598,374,25015,056,31802,232,320