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 6, 2021 03:21evgenikwtevgenikwtScore: 5,281Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 03:215,23343,062,12915,698,0001,046,0002,392,064
2Jun 6, 2021 03:215,27145,503,48514,882,0001,984,0002,265,088
3Jun 6, 2021 03:215,27444,635,31914,891,0001,985,0002,396,160
4Jun 6, 2021 03:215,27633,693,47315,889,000993,0002,510,848
5Jun 6, 2021 03:215,27733,340,36214,901,0001,986,0002,387,968
6Jun 6, 2021 03:215,27745,833,56114,901,0001,986,0002,387,968
7Jun 6, 2021 03:215,28142,409,35816,898,00002,379,776
8Jun 6, 2021 03:215,28443,204,73014,920,0001,989,0002,527,232
9Jun 6, 2021 03:215,28838,273,22715,925,000995,0002,383,872
10Jun 6, 2021 03:215,56075,110,50417,791,21302,277,376
11Jun 6, 2021 03:215,58267,317,08617,861,67802,240,512
12Jun 6, 2021 03:215,73571,478,63118,352,10002,281,472