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 22:39evgenikwtevgenikwtScore: 5,293Success
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 22:395,25944,418,11315,839,000989,0002,392,064
2Jun 5, 2021 22:395,27336,380,45116,872,00002,392,064
3Jun 5, 2021 22:395,27436,366,34215,884,000992,0002,387,968
4Jun 5, 2021 22:395,27544,037,63515,888,000993,0002,265,088
5Jun 5, 2021 22:395,27744,827,56615,892,000993,0002,265,088
6Jun 5, 2021 22:395,28233,274,28714,913,0001,988,0002,396,160
7Jun 5, 2021 22:395,29332,932,91814,944,0001,992,0002,269,184
8Jun 5, 2021 22:395,29639,539,43315,950,000996,0002,498,560
9Jun 5, 2021 22:395,29740,560,79915,954,000997,0002,482,176
10Jun 5, 2021 22:395,45979,177,65717,467,70802,285,568
11Jun 5, 2021 22:395,48370,911,90717,544,46802,281,472
12Jun 5, 2021 22:395,50086,576,56317,598,96402,281,472