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 listMay 11, 2021 20:50Yuriy LyfenkoYuriy LyfenkoScore: 6,153Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 20:506,11141,791,99518,526,0001,029,0002,527,232
2May 11, 2021 20:506,11244,285,75117,500,0002,058,0002,334,720
3May 11, 2021 20:506,12042,825,47318,554,0001,030,0002,334,720
4May 11, 2021 20:506,13944,845,19617,578,0002,068,0002,330,624
5May 11, 2021 20:506,14037,641,21716,547,0003,102,0002,330,624
6May 11, 2021 20:506,14646,279,03718,632,0001,035,0002,334,720
7May 11, 2021 20:506,15350,978,66218,654,0001,036,0002,506,752
8May 11, 2021 20:506,18487,873,28119,790,14002,220,032
9May 11, 2021 20:506,20893,243,38219,867,06002,220,032
10May 11, 2021 20:506,21578,064,10219,888,63102,228,224
11May 11, 2021 20:506,21536,102,64218,893,000994,0002,523,136
12May 11, 2021 20:506,21951,492,88317,912,0001,990,0002,330,624