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 listMar 17, 2023 22:18Alexander MonakovAlexander MonakovScore: 4,548Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 22:184,51340,457,05214,442,00002,498,560
2Mar 17, 2023 22:184,52133,701,93414,466,00002,498,560
3Mar 17, 2023 22:184,53338,129,35514,506,00002,494,464
4Mar 17, 2023 22:184,53829,962,55114,520,00002,277,376
5Mar 17, 2023 22:184,54034,019,41214,528,00002,490,368
6Mar 17, 2023 22:184,54230,292,16914,534,00002,277,376
7Mar 17, 2023 22:184,54836,312,42014,554,00002,277,376
8Mar 17, 2023 22:184,55428,067,64314,574,00002,494,464
9Mar 17, 2023 22:184,56231,935,91314,599,00002,494,464
10Mar 17, 2023 22:184,80576,522,07415,376,14502,240,512
11Mar 17, 2023 22:184,81971,890,23115,421,91202,232,320
12Mar 17, 2023 22:184,84663,258,43315,505,86002,244,608