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 16:23BenBenScore: 4,503Success
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 16:234,47238,231,83114,310,00002,498,560
2Aug 6, 2024 16:234,47739,085,08114,326,00002,490,368
3Aug 6, 2024 16:234,48234,538,81214,343,00002,498,560
4Aug 6, 2024 16:234,48532,135,65114,352,00002,494,464
5Aug 6, 2024 16:234,48737,212,29314,357,00002,277,376
6Aug 6, 2024 16:234,50031,431,21114,400,00002,277,376
7Aug 6, 2024 16:234,50331,773,60014,411,00002,494,464
8Aug 6, 2024 16:234,55336,139,90414,571,00002,277,376
9Aug 6, 2024 16:234,56228,344,70114,599,00002,498,560
10Aug 6, 2024 16:234,84084,071,39015,487,04002,232,320
11Aug 6, 2024 16:234,87268,125,73715,591,64702,248,704
12Aug 6, 2024 16:234,88083,420,52515,614,59902,260,992