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 22, 2021 23:41Vladimir KuryakovVladimir KuryakovScore: 5,711Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 23:415,68543,508,57816,171,0002,021,0002,396,160
2May 22, 2021 23:415,68764,413,86418,199,59502,293,760
3May 22, 2021 23:415,69342,343,74217,207,0001,012,0002,260,992
4May 22, 2021 23:415,69590,552,37618,225,04602,273,280
5May 22, 2021 23:415,69771,952,34518,229,34802,273,280
6May 22, 2021 23:415,70346,722,19616,222,0002,027,0002,387,968
7May 22, 2021 23:415,70649,494,35118,259,00002,383,872
8May 22, 2021 23:415,71143,003,41316,245,0002,030,0002,392,064
9May 22, 2021 23:415,71344,310,18016,251,0002,031,0002,379,776
10May 22, 2021 23:415,71740,501,83817,279,0001,016,0002,379,776
11May 22, 2021 23:415,72377,753,63418,313,97902,289,664
12May 22, 2021 23:415,72444,813,31316,283,0002,035,0002,519,040
13May 22, 2021 23:415,72581,911,89118,320,07802,277,376
14May 22, 2021 23:415,74345,926,33018,376,00002,387,968
15May 22, 2021 23:415,76378,378,62818,440,57802,281,472