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 00:56evgenikwtevgenikwtScore: 5,508Success
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 00:565,47839,320,10317,528,00002,265,088
2Jun 5, 2021 00:565,47945,195,22417,534,00002,387,968
3Jun 5, 2021 00:565,48540,901,12117,552,00002,265,088
4Jun 5, 2021 00:565,49034,783,38017,568,00002,265,088
5Jun 5, 2021 00:565,49040,936,50917,568,00002,383,872
6Jun 5, 2021 00:565,50243,868,04917,605,00002,265,088
7Jun 5, 2021 00:565,50851,688,96116,590,0001,036,0002,392,064
8Jun 5, 2021 00:565,51842,447,91616,621,0001,038,0002,265,088
9Jun 5, 2021 00:565,52448,863,14917,677,00002,527,232
10Jun 5, 2021 00:565,64174,114,82018,049,95502,277,376
11Jun 5, 2021 00:565,65690,186,96718,097,76002,285,568
12Jun 5, 2021 00:565,68079,981,05418,177,26402,281,472