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 15, 2023 22:04Alexander MonakovAlexander MonakovScore: 8,252Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2023 22:045,57599,094,81117,840,51102,285,568
2Mar 15, 2023 22:045,58884,733,51117,881,87002,293,760
3Mar 15, 2023 22:045,59990,980,89717,916,27002,297,856
4Mar 15, 2023 22:048,22348,725,09418,216,0008,096,0002,383,872
5Mar 15, 2023 22:048,23053,733,25115,193,00011,142,0002,363,392
6Mar 15, 2023 22:048,23953,383,05720,282,0006,084,0002,363,392
7Mar 15, 2023 22:048,25248,855,38217,265,0009,140,0002,437,120
8Mar 15, 2023 22:048,26651,727,60519,329,0007,121,0002,359,296
9Mar 15, 2023 22:048,26848,850,44020,352,0006,105,0002,433,024
10Mar 15, 2023 22:048,28551,035,68120,394,0006,118,0002,359,296
11Mar 15, 2023 22:048,29850,787,70519,405,0007,149,0002,383,872
12Mar 15, 2023 22:048,30050,790,70117,367,0009,194,0002,363,392