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 5, 2021 17:01evgenikwtevgenikwtScore: 5,280Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 17:015,23742,204,82915,712,0001,047,0002,265,088
2Jun 5, 2021 17:015,26541,406,80515,858,000991,0002,265,088
3Jun 5, 2021 17:015,27245,072,84015,877,000992,0002,383,872
4Jun 5, 2021 17:015,27242,604,50315,879,000992,0002,527,232
5Jun 5, 2021 17:015,27433,618,73115,885,000992,0002,265,088
6Jun 5, 2021 17:015,27946,222,54115,900,000993,0002,265,088
7Jun 5, 2021 17:015,28042,399,54014,908,0001,987,0002,379,776
8Jun 5, 2021 17:015,28049,819,54815,903,000993,0002,396,160
9Jun 5, 2021 17:015,28747,739,00914,929,0001,990,0002,392,064
10Jun 5, 2021 17:015,47589,983,88717,519,49202,244,608
11Jun 5, 2021 17:015,47884,020,33417,529,31402,277,376
12Jun 5, 2021 17:015,52686,597,62417,683,84102,281,472