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 25, 2021 06:27Yuriy LyfenkoYuriy LyfenkoScore: 5,158Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 06:275,11731,894,98915,350,0001,023,0002,396,160
2May 25, 2021 06:275,11834,601,18616,376,00002,265,088
3May 25, 2021 06:275,12132,045,17916,387,00002,265,088
4May 25, 2021 06:275,12333,126,26216,393,00002,265,088
5May 25, 2021 06:275,13031,445,11415,391,0001,026,0002,392,064
6May 25, 2021 06:275,15333,579,09416,489,00002,383,872
7May 25, 2021 06:275,15840,678,42416,505,00002,527,232
8May 25, 2021 06:275,16738,735,81715,502,0001,033,0002,396,160
9May 25, 2021 06:275,16831,195,87616,539,00002,265,088
10May 25, 2021 06:275,29271,660,74116,933,17302,277,376
11May 25, 2021 06:275,32973,228,06917,054,25302,281,472
12May 25, 2021 06:275,35180,011,79617,122,56102,277,376