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 listJan 22, 2024 09:19Alexander MonakovAlexander MonakovScore: 4,731Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:194,69832,270,73914,032,0001,002,0002,277,376
2Jan 22, 2024 09:194,70437,159,75214,050,0001,003,0002,494,464
3Jan 22, 2024 09:194,70436,654,91014,051,0001,003,0002,502,656
4Jan 22, 2024 09:194,71030,331,19314,069,0001,004,0002,502,656
5Jan 22, 2024 09:194,72133,833,60014,101,0001,007,0002,498,560
6Jan 22, 2024 09:194,72237,435,07014,103,0001,007,0002,494,464
7Jan 22, 2024 09:194,73138,114,14814,130,0001,009,0002,277,376
8Jan 22, 2024 09:194,73429,466,72914,139,0001,009,0002,277,376
9Jan 22, 2024 09:194,74232,733,38214,163,0001,011,0002,494,464
10Jan 22, 2024 09:194,98175,881,20615,938,08902,244,608
11Jan 22, 2024 09:194,98491,025,70415,949,54302,244,608
12Jan 22, 2024 09:194,99194,354,91815,969,66002,244,608