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 listMar 17, 2023 14:10Alexander MonakovAlexander MonakovScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 14:105,17940,803,69216,574,00002,277,376
2Mar 17, 2023 14:105,18432,392,88416,589,00002,277,376
3Mar 17, 2023 14:105,18537,502,09416,591,00002,277,376
4Mar 17, 2023 14:105,18636,583,02316,595,00002,502,656
5Mar 17, 2023 14:105,19044,300,76116,609,00002,277,376
6Mar 17, 2023 14:105,19347,199,00516,619,00002,277,376
7Mar 17, 2023 14:105,27341,055,45915,883,000992,0002,535,424
8Mar 17, 2023 14:105,27740,238,64516,885,00002,506,752
9Mar 17, 2023 14:105,27739,864,08215,892,000993,0002,535,424
10Mar 17, 2023 14:105,37960,449,47217,212,83202,240,512
11Mar 17, 2023 14:105,39186,209,37117,251,94702,236,416
12Mar 17, 2023 14:105,41963,321,75317,341,80402,244,608