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 21:34evgenikwtevgenikwtScore: 5,289Success
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 21:345,27233,121,26114,885,0001,984,0002,265,088
2Jun 13, 2021 21:345,27333,057,85514,887,0001,985,0002,265,088
3Jun 13, 2021 21:345,27431,641,11014,893,0001,985,0002,383,872
4Jun 13, 2021 21:345,27736,396,83315,892,000993,0002,265,088
5Jun 13, 2021 21:345,27841,209,31714,903,0001,987,0002,265,088
6Jun 13, 2021 21:345,28342,942,54614,917,0001,989,0002,265,088
7Jun 13, 2021 21:345,28945,239,68015,931,000995,0002,265,088
8Jun 13, 2021 21:345,29535,825,80714,951,0001,993,0002,265,088
9Jun 13, 2021 21:345,29943,962,85714,962,0001,995,0002,383,872
10Jun 13, 2021 21:345,45272,153,40717,446,08002,285,568
11Jun 13, 2021 21:345,45783,238,04417,460,91002,277,376
12Jun 13, 2021 21:345,47863,467,41217,531,12702,277,376