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:20evgenikwtevgenikwtScore: 5,276Success
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:205,26246,293,94214,858,0001,981,0002,506,752
2Jun 6, 2021 03:205,27244,389,00714,886,0001,984,0002,387,968
3Jun 6, 2021 03:205,27336,088,91715,883,000992,0002,265,088
4Jun 6, 2021 03:205,27447,289,72514,892,0001,985,0002,396,160
5Jun 6, 2021 03:205,27542,628,89014,895,0001,986,0002,265,088
6Jun 6, 2021 03:205,27636,059,27515,891,000993,0002,383,872
7Jun 6, 2021 03:205,27645,389,12114,898,0001,986,0002,383,872
8Jun 6, 2021 03:205,27734,030,94914,900,0001,986,0002,383,872
9Jun 6, 2021 03:205,29144,985,63014,939,0001,991,0002,265,088
10Jun 6, 2021 03:205,51975,279,62317,660,48302,285,568
11Jun 6, 2021 03:205,64659,241,70118,068,63502,277,376
12Jun 6, 2021 03:205,77953,861,28218,494,23702,285,568