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 listJun 13, 2021 22:04evgenikwtevgenikwtScore: 5,317Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 22:045,27532,671,62514,895,0001,986,0002,265,088
2Jun 13, 2021 22:045,27948,423,57615,899,000993,0002,265,088
3Jun 13, 2021 22:045,27936,808,10615,901,000993,0002,527,232
4Jun 13, 2021 22:045,29845,240,66515,956,000997,0002,383,872
5Jun 13, 2021 22:045,30342,794,77714,975,0001,996,0002,387,968
6Jun 13, 2021 22:045,31547,450,91015,007,0002,001,0002,265,088
7Jun 13, 2021 22:045,31746,902,66715,014,0002,001,0002,383,872
8Jun 13, 2021 22:045,32847,534,32416,048,0001,003,0002,265,088
9Jun 13, 2021 22:045,33050,317,32615,051,0002,006,0002,265,088
10Jun 13, 2021 22:045,49878,511,73417,592,71602,277,376
11Jun 13, 2021 22:045,50367,912,10717,608,16502,277,376
12Jun 13, 2021 22:045,50786,499,48017,623,45802,289,664